23 references to OpenIdConnectDefaults
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 (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)
270
properties.Items[
OpenIdConnectDefaults
.UserstatePropertiesKey] = message.State;
479
properties.Items[
OpenIdConnectDefaults
.UserstatePropertiesKey] = message.State;
483
properties.Items.Add(
OpenIdConnectDefaults
.RedirectUriForCodePropertiesKey, message.RedirectUri);
963
properties.Items.TryGetValue(
OpenIdConnectDefaults
.UserstatePropertiesKey, out var userstate);
1270
RedirectUri = properties.Items[
OpenIdConnectDefaults
.RedirectUriForCodePropertiesKey]
OpenIdConnectOptions.cs (2)
80
Name =
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"/>.