2 writes to AuthMode
Aspire.Dashboard (2)
Configuration\PostConfigureDashboardOptions.cs (2)
66
options.Api.
AuthMode
= ApiAuthMode.Unsecured;
75
options.Api.
AuthMode
??= string.IsNullOrEmpty(options.Api.PrimaryApiKey) ? ApiAuthMode.Unsecured : ApiAuthMode.ApiKey;
5 references to AuthMode
Aspire.Dashboard (4)
Api\ApiAuthenticationHandler.cs (1)
37
var apiAuthMode = currentOptions.Api.
AuthMode
;
Components\Layout\MainLayout.razor.cs (1)
196
Options.CurrentValue.Api.
AuthMode
== ApiAuthMode.Unsecured;
Configuration\ValidateDashboardOptions.cs (1)
113
var effectiveApiAuthMode = options.Api.
AuthMode
;
DashboardWebApplication.cs (1)
416
_dashboardOptionsMonitor.CurrentValue.Api.
AuthMode
== ApiAuthMode.Unsecured)
Aspire.Dashboard.Tests (1)
Integration\TelemetryApiTests.cs (1)
42
Assert.Equal(ApiAuthMode.Unsecured, options.Api.
AuthMode
);