2 writes to RequiredConnectionType
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
644
.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeFrontend, o => o.
RequiredConnectionType
= ConnectionType.Frontend)
645
.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeOtlp, o => o.
RequiredConnectionType
= ConnectionType.Otlp)
2 references to RequiredConnectionType
Aspire.Dashboard (2)
Authentication\Connection\ConnectionTypeAuthenticationHandler.cs (2)
25
if (!connectionTypeFeature.ConnectionTypes.Contains(Options.
RequiredConnectionType
))
27
return Task.FromResult(AuthenticateResult.Fail($"Connection type {Options.
RequiredConnectionType
} is not enabled on this connection."));