21 references to CookieAuthenticationDefaults
Aspire.Dashboard (8)
DashboardEndpointsBuilder.cs (2)
40CookieAuthenticationDefaults.AuthenticationScheme).ConfigureAwait(false); 53endpoints.MapPost("/authentication/logout", () => TypedResults.SignOut(authenticationSchemes: [CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme])).SkipStatusCodePages();
DashboardWebApplication.cs (4)
860o.ForwardDefault = CookieAuthenticationDefaults.AuthenticationScheme; 875options.SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme; 910o.ForwardDefault = CookieAuthenticationDefaults.AuthenticationScheme; 984_ => CookieAuthenticationDefaults.AuthenticationScheme
Model\ValidateTokenMiddleware.cs (2)
98authenticationType: CookieAuthenticationDefaults.AuthenticationScheme); 102CookieAuthenticationDefaults.AuthenticationScheme,
Aspire.Dashboard.Tests (1)
DashboardOptionsTests.cs (1)
388var cookieOptions = app.Services.GetRequiredService<IOptionsMonitor<CookieAuthenticationOptions>>().Get(CookieAuthenticationDefaults.AuthenticationScheme);
Keycloak.Web (3)
LoginLogoutEndpointRouteBuilderExtensions.cs (1)
17[CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme]));
Program.cs (2)
41options.SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme; 43.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme);
Microsoft.AspNetCore.Authentication.Cookies (9)
CookieAuthenticationOptions.cs (1)
31ReturnUrlParameter = CookieAuthenticationDefaults.ReturnUrlParameter;
CookieExtensions.cs (4)
18/// The default scheme is specified by <see cref="CookieAuthenticationDefaults.AuthenticationScheme"/>. 26=> builder.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme); 42/// The default scheme is specified by <see cref="CookieAuthenticationDefaults.AuthenticationScheme"/>. 51=> builder.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme, configureOptions);
PostConfigureCookieAuthenticationOptions.cs (4)
38options.Cookie.Name = CookieAuthenticationDefaults.CookiePrefix + Uri.EscapeDataString(name); 52options.LoginPath = CookieAuthenticationDefaults.LoginPath; 56options.LogoutPath = CookieAuthenticationDefaults.LogoutPath; 60options.AccessDeniedPath = CookieAuthenticationDefaults.AccessDeniedPath;