23 references to OpenIdConnectDefaults
Aspire.Dashboard (2)
DashboardEndpointsBuilder.cs (1)
54endpoints.MapPost("/authentication/logout", () => TypedResults.SignOut(authenticationSchemes: [CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme])).SkipStatusCodePages();
DashboardWebApplication.cs (1)
793o.ForwardChallenge = OpenIdConnectDefaults.AuthenticationScheme;
Aspire.Dashboard.Tests (1)
DashboardOptionsTests.cs (1)
312var 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)); 123var scheme = OpenIdConnectDefaults.AuthenticationScheme; 153.Get(OpenIdConnectDefaults.AuthenticationScheme); 164var scheme = OpenIdConnectDefaults.AuthenticationScheme;
Keycloak.Web (2)
LoginLogoutEndpointRouteBuilderExtensions.cs (1)
17[CookieAuthenticationDefaults.AuthenticationScheme, OpenIdConnectDefaults.AuthenticationScheme]));
Program.cs (1)
30var oidcScheme = OpenIdConnectDefaults.AuthenticationScheme;
Microsoft.AspNetCore.Authentication.OpenIdConnect (12)
OpenIdConnectExtensions.cs (5)
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); 55=> builder.AddOpenIdConnect(authenticationScheme, OpenIdConnectDefaults.DisplayName, configureOptions);
OpenIdConnectHandler.cs (5)
270properties.Items[OpenIdConnectDefaults.UserstatePropertiesKey] = message.State; 479properties.Items[OpenIdConnectDefaults.UserstatePropertiesKey] = message.State; 483properties.Items.Add(OpenIdConnectDefaults.RedirectUriForCodePropertiesKey, message.RedirectUri); 963properties.Items.TryGetValue(OpenIdConnectDefaults.UserstatePropertiesKey, out var userstate); 1270RedirectUri = properties.Items[OpenIdConnectDefaults.RedirectUriForCodePropertiesKey]
OpenIdConnectOptions.cs (2)
80Name = OpenIdConnectDefaults.CookieNoncePrefix, 318/// The value of <see cref="CookieBuilder.Name"/> is treated as the prefix to the cookie name, and defaults to <see cref="OpenIdConnectDefaults.CookieNoncePrefix"/>.