12 references to AddScheme
Aspire.Dashboard (7)
DashboardWebApplication.cs (7)
796.AddScheme<FrontendCompositeAuthenticationHandlerOptions, FrontendCompositeAuthenticationHandler>(FrontendCompositeAuthenticationDefaults.AuthenticationScheme, o => { }) 797.AddScheme<OtlpCompositeAuthenticationHandlerOptions, OtlpCompositeAuthenticationHandler>(OtlpCompositeAuthenticationDefaults.AuthenticationScheme, o => { }) 798.AddScheme<OtlpApiKeyAuthenticationHandlerOptions, OtlpApiKeyAuthenticationHandler>(OtlpApiKeyAuthenticationDefaults.AuthenticationScheme, o => { }) 799.AddScheme<ApiAuthenticationHandlerOptions, ApiAuthenticationHandler>(ApiAuthenticationHandler.AuthenticationScheme, o => { }) 800.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeFrontend, o => o.RequiredConnectionTypes = [ConnectionType.Frontend]) 801.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeOtlp, o => o.RequiredConnectionTypes = [ConnectionType.OtlpGrpc, ConnectionType.OtlpHttp]) 931authentication.AddScheme<AuthenticationSchemeOptions, UnsecuredAuthenticationHandler>(FrontendAuthenticationDefaults.AuthenticationSchemeUnsecured, o => { });
Aspire.Dashboard.Tests (1)
Terminal\TerminalWebSocketProxyEndpointTests.cs (1)
121.AddScheme<AuthenticationSchemeOptions, AlwaysAuthenticatedHandler>(
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
83.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);
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (1)
DeviceBoundSessionExtensions.cs (1)
132builder.AddScheme<DbscOptions, DeviceBoundSessionHandler>(authenticationScheme, o =>