2 writes to RequiredConnectionType
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
671
.AddScheme<ConnectionTypeAuthenticationHandlerOptions, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeFrontend, o => o.
RequiredConnectionType
= ConnectionType.Frontend)
672
.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."));