11 references to AddScheme
Aspire.Dashboard (4)
DashboardWebApplication.cs (4)
676
.
AddScheme
<OtlpApiKeyAuthenticationHandlerOptions, OtlpApiKeyAuthenticationHandler>(OtlpApiKeyAuthenticationDefaults.AuthenticationScheme, o => { })
677
.
AddScheme
<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeFrontend, o => o.RequiredConnectionType = ConnectionType.Frontend)
678
.
AddScheme
<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeOtlp, o => o.RequiredConnectionType = ConnectionType.Otlp)
795
authentication.
AddScheme
<AuthenticationSchemeOptions, UnsecuredAuthenticationHandler>(FrontendAuthenticationDefaults.AuthenticationSchemeUnsecured, o => { });
BasicWebSite (2)
StartupWithCustomInvalidModelStateFactory.cs (1)
15
.
AddScheme
<AuthenticationSchemeOptions, BasicAuthenticationHandler>("Api", _ => { });
StartupWithoutEndpointRouting.cs (1)
23
.
AddScheme
<AuthenticationSchemeOptions, BasicAuthenticationHandler>("Api", _ => { });
CustomAuthorizationFailureResponse (1)
Startup.cs (1)
34
.
AddScheme
<AuthenticationSchemeOptions, SampleAuthenticationHandler>(SampleAuthenticationSchemes.CustomScheme, o => { });
DynamicSchemes (2)
Startup.cs (2)
30
.
AddScheme
<SimpleOptions, SimpleAuthHandler>("fromStartup1", o => o.DisplayMessage = "I am from startup..")
31
.
AddScheme
<SimpleOptions, SimpleAuthHandler>("fromStartup2", o => o.DisplayMessage = "Me too!");
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationExtensions.cs (1)
73
=> builder.
AddScheme
<CertificateAuthenticationOptions, CertificateAuthenticationHandler>(authenticationScheme, configureOptions);
PathSchemeSelection (1)
Startup.cs (1)
27
.
AddScheme
<AuthenticationSchemeOptions, ApiAuthHandler>("Api", o => { })