20 references to CookieAuthenticationDefaults
Aspire.Dashboard (8)
DashboardEndpointsBuilder.cs (2)
41
CookieAuthenticationDefaults
.AuthenticationScheme).ConfigureAwait(false);
54
endpoints.MapPost("/authentication/logout", () => TypedResults.SignOut(authenticationSchemes: [
CookieAuthenticationDefaults
.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme])).SkipStatusCodePages();
DashboardWebApplication.cs (4)
792
o.ForwardDefault =
CookieAuthenticationDefaults
.AuthenticationScheme;
806
options.SignInScheme =
CookieAuthenticationDefaults
.AuthenticationScheme;
841
o.ForwardDefault =
CookieAuthenticationDefaults
.AuthenticationScheme;
920
_ =>
CookieAuthenticationDefaults
.AuthenticationScheme
Model\ValidateTokenMiddleware.cs (2)
95
authenticationType:
CookieAuthenticationDefaults
.AuthenticationScheme);
99
CookieAuthenticationDefaults
.AuthenticationScheme,
Keycloak.Web (3)
LoginLogoutEndpointRouteBuilderExtensions.cs (1)
17
[
CookieAuthenticationDefaults
.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme]));
Program.cs (2)
41
options.SignInScheme =
CookieAuthenticationDefaults
.AuthenticationScheme;
43
.AddCookie(
CookieAuthenticationDefaults
.AuthenticationScheme);
Microsoft.AspNetCore.Authentication.Cookies (9)
CookieAuthenticationOptions.cs (1)
31
ReturnUrlParameter =
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)
38
options.Cookie.Name =
CookieAuthenticationDefaults
.CookiePrefix + Uri.EscapeDataString(name);
52
options.LoginPath =
CookieAuthenticationDefaults
.LoginPath;
56
options.LogoutPath =
CookieAuthenticationDefaults
.LogoutPath;
60
options.AccessDeniedPath =
CookieAuthenticationDefaults
.AccessDeniedPath;