6 references to ConnectionTypeAuthenticationDefaults
Aspire.Dashboard (6)
Authentication\FrontendCompositeAuthenticationHandler.cs (1)
21
var result = await Context.AuthenticateAsync(
ConnectionTypeAuthenticationDefaults
.AuthenticationSchemeFrontend).ConfigureAwait(false);
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
42
yield return
ConnectionTypeAuthenticationDefaults
.AuthenticationSchemeOtlp;
DashboardWebApplication.cs (3)
707
.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(
ConnectionTypeAuthenticationDefaults
.AuthenticationSchemeFrontend, o => o.RequiredConnectionTypes = [ConnectionType.Frontend])
708
.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(
ConnectionTypeAuthenticationDefaults
.AuthenticationSchemeOtlp, o => o.RequiredConnectionTypes = [ConnectionType.OtlpGrpc, ConnectionType.OtlpHttp])
709
.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(
ConnectionTypeAuthenticationDefaults
.AuthenticationSchemeMcp, o => o.RequiredConnectionTypes = [ConnectionType.Mcp])
Mcp\McpCompositeAuthenticationHandler.cs (1)
40
yield return
ConnectionTypeAuthenticationDefaults
.AuthenticationSchemeMcp;