13 references to ApiKey
Aspire.Dashboard (2)
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
44
if (options.Otlp.AuthMode is OtlpAuthMode.
ApiKey
)
Configuration\ValidateDashboardOptions.cs (1)
72
case OtlpAuthMode.
ApiKey
:
Aspire.Dashboard.Tests (11)
Integration\OtlpGrpcServiceTests.cs (6)
55
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
77
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
104
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
132
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
169
["AuthMode"] = OtlpAuthMode.
ApiKey
.ToString(),
211
["AuthMode"] = OtlpAuthMode.
ApiKey
.ToString(),
Integration\OtlpHttpServiceTests.cs (3)
106
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
130
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
158
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
Integration\StartupTests.cs (2)
250
initialData["Dashboard:Otlp:AuthMode"] = nameof(OtlpAuthMode.
ApiKey
);
258
Assert.Equal(OtlpAuthMode.
ApiKey
, app.DashboardOptionsMonitor.CurrentValue.Otlp.AuthMode);