20 references to ApiKey
Aspire.Dashboard (2)
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
44
if (options.Otlp.AuthMode is OtlpAuthMode.
ApiKey
)
Configuration\ValidateDashboardOptions.cs (1)
85
case OtlpAuthMode.
ApiKey
:
Aspire.Dashboard.Tests (18)
DashboardOptionsTests.cs (3)
378
options.Otlp.AuthMode = OtlpAuthMode.
ApiKey
;
392
options.Otlp.AuthMode = OtlpAuthMode.
ApiKey
;
405
options.Otlp.AuthMode = OtlpAuthMode.
ApiKey
;
Integration\OtlpGrpcServiceTests.cs (6)
56
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
78
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
105
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
133
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
172
["AuthMode"] = OtlpAuthMode.
ApiKey
.ToString(),
220
["AuthMode"] = OtlpAuthMode.
ApiKey
.ToString(),
Integration\OtlpHttpJsonTests.cs (2)
829
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
857
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
Integration\OtlpHttpServiceTests.cs (5)
119
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
173
Assert.Equal(OtlpAuthMode.
ApiKey
, options.AuthMode);
190
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
217
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
245
config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.
ApiKey
.ToString();
Integration\StartupTests.cs (2)
356
initialData["Dashboard:Otlp:AuthMode"] = nameof(OtlpAuthMode.
ApiKey
);
364
Assert.Equal(OtlpAuthMode.
ApiKey
, app.DashboardOptionsMonitor.CurrentValue.Otlp.AuthMode);