19 references to Cookie
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
921
options.
Cookie
.Name = authCookieName;
981
options.
Cookie
.Name = authCookieName;
Aspire.Dashboard.Tests (3)
DashboardOptionsTests.cs (3)
518
Assert.StartsWith(".Aspire.Dashboard.Auth.test-application-", cookieOptions.
Cookie
.Name, StringComparison.Ordinal);
521
cookieOptions.CookieManager.AppendResponseCookie(httpContext, cookieOptions.
Cookie
.Name!, "value", new CookieOptions());
527
cookieOptions.CookieManager.AppendResponseCookie(httpsContext, cookieOptions.
Cookie
.Name!, "value", new CookieOptions());
Microsoft.AspNetCore.Authentication.Cookies (8)
CookieAuthenticationHandler.cs (5)
153
var cookie = Options.CookieManager.GetRequestCookie(Context, Options.
Cookie
.Name!);
232
var cookieOptions = Options.
Cookie
.Build(Context);
283
Options.
Cookie
.Name!,
361
Options.
Cookie
.Name!,
412
Options.
Cookie
.Name!,
CookieExtensions.cs (1)
80
builder.Services.AddOptions<CookieAuthenticationOptions>(authenticationScheme).Validate(o => o.
Cookie
.Expiration == null, "Cookie.Expiration is ignored, use ExpireTimeSpan instead.");
PostConfigureCookieAuthenticationOptions.cs (2)
36
if (string.IsNullOrEmpty(options.
Cookie
.Name))
38
options.
Cookie
.Name = CookieAuthenticationDefaults.CookiePrefix + Uri.EscapeDataString(name);
Microsoft.AspNetCore.Identity (6)
IdentityCookiesBuilderExtensions.cs (3)
69
o.
Cookie
.Name = IdentityConstants.ExternalScheme;
84
o.
Cookie
.Name = IdentityConstants.TwoFactorRememberMeScheme;
102
o.
Cookie
.Name = IdentityConstants.TwoFactorUserIdScheme;
IdentityServiceCollectionExtensions.cs (3)
69
o.
Cookie
.Name = IdentityConstants.ExternalScheme;
74
o.
Cookie
.Name = IdentityConstants.TwoFactorRememberMeScheme;
82
o.
Cookie
.Name = IdentityConstants.TwoFactorUserIdScheme;