9 writes to AuthMode
Aspire.Dashboard.Tests (9)
DashboardOptionsTests.cs (7)
112
options.ResourceServiceClient.
AuthMode
= ResourceClientAuthMode.ApiKey;
126
options.ResourceServiceClient.
AuthMode
= ResourceClientAuthMode.Certificate;
141
options.ResourceServiceClient.
AuthMode
= ResourceClientAuthMode.Certificate;
156
options.ResourceServiceClient.
AuthMode
= ResourceClientAuthMode.Certificate;
170
options.ResourceServiceClient.
AuthMode
= ResourceClientAuthMode.Certificate;
184
options.ResourceServiceClient.
AuthMode
= null;
197
options.ResourceServiceClient.
AuthMode
= (ResourceClientAuthMode)int.MaxValue;
Integration\DashboardClientAuthTests.cs (1)
121
AuthMode
= authMode,
Model\DashboardClientTests.cs (1)
32
AuthMode
= ResourceClientAuthMode.Unsecured,
5 references to AuthMode
Aspire.Dashboard (4)
Configuration\ValidateDashboardOptions.cs (2)
105
switch (options.ResourceServiceClient.
AuthMode
)
142
errorMessages.Add($"Unexpected resource service client authentication mode: {options.ResourceServiceClient.
AuthMode
}");
ResourceService\DashboardClient.cs (2)
107
if (_dashboardOptions.ResourceServiceClient.
AuthMode
is ResourceClientAuthMode.ApiKey)
125
var authMode = _dashboardOptions.ResourceServiceClient.
AuthMode
;
Aspire.Dashboard.Tests (1)
Integration\StartupTests.cs (1)
475
Assert.Equal(ResourceClientAuthMode.Certificate, app.DashboardOptionsMonitor.CurrentValue.ResourceServiceClient.
AuthMode
);