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)
54
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
76
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
103
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
131
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
170
["AuthMode"] = OtlpAuthMode.
ApiKey
.ToString(),
212
["AuthMode"] = OtlpAuthMode.
ApiKey
.ToString(),
Integration\OtlpHttpServiceTests.cs (3)
105
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
129
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
157
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
Integration\StartupTests.cs (2)
255
initialData["Dashboard:Otlp:AuthMode"] = nameof(OtlpAuthMode.
ApiKey
);
263
Assert.Equal(OtlpAuthMode.
ApiKey
, app.DashboardOptionsMonitor.CurrentValue.Otlp.AuthMode);