16 references to AuthenticationScheme
Aspire.Dashboard (8)
DashboardEndpointsBuilder.cs (2)
40
CookieAuthenticationDefaults.
AuthenticationScheme
).ConfigureAwait(false);
53
endpoints.MapPost("/authentication/logout", () => TypedResults.SignOut(authenticationSchemes: [CookieAuthenticationDefaults.
AuthenticationScheme
, OpenIdConnectDefaults.AuthenticationScheme])).SkipStatusCodePages();
DashboardWebApplication.cs (4)
860
o.ForwardDefault = CookieAuthenticationDefaults.
AuthenticationScheme
;
875
options.SignInScheme = CookieAuthenticationDefaults.
AuthenticationScheme
;
910
o.ForwardDefault = CookieAuthenticationDefaults.
AuthenticationScheme
;
984
_ => CookieAuthenticationDefaults.
AuthenticationScheme
Model\ValidateTokenMiddleware.cs (2)
98
authenticationType: CookieAuthenticationDefaults.
AuthenticationScheme
);
102
CookieAuthenticationDefaults.
AuthenticationScheme
,
Aspire.Dashboard.Tests (1)
DashboardOptionsTests.cs (1)
388
var cookieOptions = app.Services.GetRequiredService<IOptionsMonitor<CookieAuthenticationOptions>>().Get(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 (4)
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);