5 references to ConnectionTypeAuthenticationHandlerOptions
Aspire.Dashboard (5)
Authentication\Connection\ConnectionTypeAuthenticationHandler.cs (2)
10
public class ConnectionTypeAuthenticationHandler : AuthenticationHandler<
ConnectionTypeAuthenticationHandlerOptions
>
12
public ConnectionTypeAuthenticationHandler(IOptionsMonitor<
ConnectionTypeAuthenticationHandlerOptions
> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
DashboardWebApplication.cs (3)
702
.AddScheme<
ConnectionTypeAuthenticationHandlerOptions
, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeFrontend, o => o.RequiredConnectionTypes = [ConnectionType.Frontend])
703
.AddScheme<
ConnectionTypeAuthenticationHandlerOptions
, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeOtlp, o => o.RequiredConnectionTypes = [ConnectionType.OtlpGrpc, ConnectionType.OtlpHttp])
704
.AddScheme<
ConnectionTypeAuthenticationHandlerOptions
, ConnectionTypeAuthenticationHandler>(ConnectionTypeAuthenticationDefaults.AuthenticationSchemeMcp, o => o.RequiredConnectionTypes = [ConnectionType.Mcp])