11 references to AddScheme
Aspire.Dashboard (7)
DashboardWebApplication.cs (7)
848.AddScheme<FrontendCompositeAuthenticationHandlerOptions, FrontendCompositeAuthenticationHandler>(FrontendCompositeAuthenticationDefaults.AuthenticationScheme, o => { }) 849.AddScheme<OtlpCompositeAuthenticationHandlerOptions, OtlpCompositeAuthenticationHandler>(OtlpCompositeAuthenticationDefaults.AuthenticationScheme, o => { }) 850.AddScheme<OtlpApiKeyAuthenticationHandlerOptions, OtlpApiKeyAuthenticationHandler>(OtlpApiKeyAuthenticationDefaults.AuthenticationScheme, o => { }) 851.AddScheme<ApiAuthenticationHandlerOptions, ApiAuthenticationHandler>(ApiAuthenticationHandler.AuthenticationScheme, o => { }) 852.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeFrontend, o => o.RequiredConnectionTypes = [ConnectionType.Frontend]) 853.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeOtlp, o => o.RequiredConnectionTypes = [ConnectionType.OtlpGrpc, ConnectionType.OtlpHttp]) 986authentication.AddScheme<AuthenticationSchemeOptions, UnsecuredAuthenticationHandler>(FrontendAuthenticationDefaults.AuthenticationSchemeUnsecured, o => { });
Aspire.Dashboard.Tests (1)
Terminal\TerminalWebSocketProxyEndpointTests.cs (1)
187.AddScheme<AuthenticationSchemeOptions, AlwaysAuthenticatedHandler>(
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
84.AddScheme<ResourceServiceApiKeyAuthenticationOptions, ResourceServiceApiKeyAuthenticationHandler>(
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenExtensions.cs (1)
70return builder.AddScheme<BearerTokenOptions, BearerTokenHandler>(authenticationScheme, configure);
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationExtensions.cs (1)
73=> builder.AddScheme<CertificateAuthenticationOptions, CertificateAuthenticationHandler>(authenticationScheme, configureOptions);