20 references to AuthenticationScheme
Aspire.Dashboard (2)
DashboardEndpointsBuilder.cs (1)
53endpoints.MapPost("/authentication/logout", () => TypedResults.SignOut(authenticationSchemes: [CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme])).SkipStatusCodePages();
DashboardWebApplication.cs (1)
935o.ForwardChallenge = OpenIdConnectDefaults.AuthenticationScheme;
Aspire.Dashboard.Tests (1)
DashboardOptionsTests.cs (1)
487var openIdConnectAuthOptions = app.Services.GetService<IOptionsMonitor<OpenIdConnectOptions>>()?.Get(OpenIdConnectDefaults.AuthenticationScheme);
Aspire.Hosting.Azure.EntraId.Tests (2)
MicrosoftIdentityWebConfigurationTests.cs (2)
166services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme) 171.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)); 123var scheme = OpenIdConnectDefaults.AuthenticationScheme; 153.Get(OpenIdConnectDefaults.AuthenticationScheme); 164var scheme = OpenIdConnectDefaults.AuthenticationScheme;
EntraId.Web (3)
Program.cs (3)
21var authentication = builder.Services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme) 27builder.Services.Configure<OpenIdConnectOptions>(OpenIdConnectDefaults.AuthenticationScheme, options => 97[CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme]);
Keycloak.Web (2)
LoginLogoutEndpointRouteBuilderExtensions.cs (1)
17[CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme]));
Program.cs (1)
30var 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);