15 references to AddScheme
Aspire.Dashboard (6)
DashboardWebApplication.cs (6)
669
.
AddScheme
<FrontendCompositeAuthenticationHandlerOptions, FrontendCompositeAuthenticationHandler>(FrontendCompositeAuthenticationDefaults.AuthenticationScheme, o => { })
670
.
AddScheme
<OtlpCompositeAuthenticationHandlerOptions, OtlpCompositeAuthenticationHandler>(OtlpCompositeAuthenticationDefaults.AuthenticationScheme, o => { })
671
.
AddScheme
<OtlpApiKeyAuthenticationHandlerOptions, OtlpApiKeyAuthenticationHandler>(OtlpApiKeyAuthenticationDefaults.AuthenticationScheme, o => { })
672
.
AddScheme
<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeFrontend, o => o.RequiredConnectionType = ConnectionType.Frontend)
673
.
AddScheme
<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeOtlp, o => o.RequiredConnectionType = ConnectionType.Otlp)
790
authentication.
AddScheme
<AuthenticationSchemeOptions, UnsecuredAuthenticationHandler>(FrontendAuthenticationDefaults.AuthenticationSchemeUnsecured, o => { });
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
87
.
AddScheme
<ResourceServiceApiKeyAuthenticationOptions, ResourceServiceApiKeyAuthenticationHandler>(
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.BearerToken (1)
BearerTokenExtensions.cs (1)
70
return builder.
AddScheme
<BearerTokenOptions, BearerTokenHandler>(authenticationScheme, configure);
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 => { })