15 writes to Domain
Microsoft.AspNetCore.CookiePolicy.Test (5)
CookieChunkingTests.cs (5)
30Domain = "foo.com", 213new ChunkingCookieManager().DeleteCookie(context, "TestCookie", new CookieOptions() { Domain = "foo.com", Secure = true, Extensions = { "extension" } }); 235new ChunkingCookieManager().DeleteCookie(context, "TestCookie", new CookieOptions() { Domain = "foo.com", Secure = true }); 253new ChunkingCookieManager().DeleteCookie(context, "TestCookie", new CookieOptions() { Domain = "foo.com", Secure = true }); 284Domain = "foo.com",
Microsoft.AspNetCore.Http.Abstractions (1)
CookieBuilder.cs (1)
115Domain = Domain,
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
37Domain = options.Domain;
Microsoft.AspNetCore.Http.Tests (5)
CookieOptionsTests.cs (1)
20Domain = "domain",
ResponseCookiesTest.cs (4)
134responseCookies.Delete(cookie.Key, new CookieOptions() { Domain = cookie.Domain, Path = cookie.Path }); 164responseCookies.Append(cookie.Key, cookie.Key, new CookieOptions() { Domain = cookie.Domain, Path = cookie.Path }); 165responseCookies.Delete(cookie.Key, new CookieOptions() { Domain = cookie.Domain, Path = cookie.Path }); 189Domain = "example.com",
Microsoft.AspNetCore.Rewrite (2)
UrlActions\ChangeCookieAction.cs (2)
48Domain = Domain, 60Domain = Domain,
Microsoft.AspNetCore.Security.Microbenchmarks (1)
ChunkingCookieManagerBenchmark.cs (1)
31Domain = "foo.com",
17 references to Domain
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenStoreTest.cs (1)
509Assert.Equal(expectedCookieDomain, cookies.Options.Domain);
Microsoft.AspNetCore.Authentication.Cookies (2)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (2)
256var domainHasValue = !string.IsNullOrEmpty(options.Domain); 263rejectPredicate = value => predicate(value) && value.Contains("domain=" + options.Domain, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.CookiePolicy.Test (2)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (2)
256var domainHasValue = !string.IsNullOrEmpty(options.Domain); 263rejectPredicate = value => predicate(value) && value.Contains("domain=" + options.Domain, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Http (3)
Internal\ResponseCookies.cs (3)
117var domainHasValue = !string.IsNullOrEmpty(options.Domain); 125value.Contains($"domain={opts.Domain}", StringComparison.OrdinalIgnoreCase) && 132value.Contains($"domain={opts.Domain}", StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Http.Abstractions (1)
CookieBuilder.cs (1)
39/// Determines the value that will be set for <see cref="CookieOptions.Domain"/>.
Microsoft.AspNetCore.Http.Features (3)
CookieOptions.cs (2)
37Domain = options.Domain; 115Domain = Domain,
IResponseCookies.cs (1)
51/// <see cref="CookieOptions.Domain"/> and <see cref="CookieOptions.Path"/> values are especially important.
Microsoft.AspNetCore.Mvc.Core (2)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (2)
256var domainHasValue = !string.IsNullOrEmpty(options.Domain); 263rejectPredicate = value => predicate(value) && value.Contains("domain=" + options.Domain, StringComparison.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
CookieTempDataProviderTest.cs (3)
178Assert.Null(cookieInfo.Options.Domain); 213Assert.Null(cookieInfo.Options.Domain); 259Assert.Equal(expectedDomain, cookieInfo.Options.Domain);