15 references to AuthenticationScheme
Aspire.Dashboard (2)
DashboardEndpointsBuilder.cs (1)
54
endpoints.MapPost("/authentication/logout", () => TypedResults.SignOut(authenticationSchemes: [CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.
AuthenticationScheme
])).SkipStatusCodePages();
DashboardWebApplication.cs (1)
793
o.ForwardChallenge = OpenIdConnectDefaults.
AuthenticationScheme
;
Aspire.Dashboard.Tests (1)
DashboardOptionsTests.cs (1)
312
var openIdConnectAuthOptions = app.Services.GetService<IOptionsMonitor<OpenIdConnectOptions>>()?.Get(OpenIdConnectDefaults.
AuthenticationScheme
);
Aspire.Keycloak.Authentication (2)
AspireKeycloakExtensions.cs (2)
112
=> AddKeycloakOpenIdConnect(builder, serviceName, realm, OpenIdConnectDefaults.
AuthenticationScheme
, null);
140
=> AddKeycloakOpenIdConnect(builder, serviceName, realm, OpenIdConnectDefaults.
AuthenticationScheme
, configureOptions);
Aspire.Keycloak.Authentication.Tests (4)
AspireKeycloakExtensionTests.cs (4)
112
.Get(OpenIdConnectDefaults.
AuthenticationScheme
));
123
var scheme = OpenIdConnectDefaults.
AuthenticationScheme
;
153
.Get(OpenIdConnectDefaults.
AuthenticationScheme
);
164
var scheme = OpenIdConnectDefaults.
AuthenticationScheme
;
Keycloak.Web (2)
LoginLogoutEndpointRouteBuilderExtensions.cs (1)
17
[CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.
AuthenticationScheme
]));
Program.cs (1)
30
var oidcScheme = OpenIdConnectDefaults.
AuthenticationScheme
;
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
OpenIdConnectExtensions.cs (4)
18
/// The default scheme is specified by <see cref="OpenIdConnectDefaults.
AuthenticationScheme
"/>.
27
=> builder.AddOpenIdConnect(OpenIdConnectDefaults.
AuthenticationScheme
, _ => { });
31
/// The default scheme is specified by <see cref="OpenIdConnectDefaults.
AuthenticationScheme
"/>.
41
=> builder.AddOpenIdConnect(OpenIdConnectDefaults.
AuthenticationScheme
, configureOptions);