11 references to DashboardOptionsMonitor
Aspire.Dashboard.Tests (11)
Integration\OtlpGrpcServiceTests.cs (1)
199
using var monitorRegistration = app.
DashboardOptionsMonitor
.OnChange((o, n) =>
Integration\StartupTests.cs (10)
258
Assert.Equal(OtlpAuthMode.ApiKey, app.
DashboardOptionsMonitor
.CurrentValue.Otlp.AuthMode);
259
Assert.Equal("TestKey123!", app.
DashboardOptionsMonitor
.CurrentValue.Otlp.PrimaryApiKey);
437
Assert.Equal(FrontendAuthMode.BrowserToken, app.
DashboardOptionsMonitor
.CurrentValue.Frontend.AuthMode);
438
Assert.Equal(16, Convert.FromHexString(app.
DashboardOptionsMonitor
.CurrentValue.Frontend.BrowserToken!).Length);
439
Assert.Equal(OtlpAuthMode.Unsecured, app.
DashboardOptionsMonitor
.CurrentValue.Otlp.AuthMode);
457
Assert.Equal(FrontendAuthMode.Unsecured, app.
DashboardOptionsMonitor
.CurrentValue.Frontend.AuthMode);
458
Assert.Equal(OtlpAuthMode.Unsecured, app.
DashboardOptionsMonitor
.CurrentValue.Otlp.AuthMode);
475
Assert.Equal(ResourceClientAuthMode.Certificate, app.
DashboardOptionsMonitor
.CurrentValue.ResourceServiceClient.AuthMode);
476
Assert.Equal(DashboardClientCertificateSource.KeyStore, app.
DashboardOptionsMonitor
.CurrentValue.ResourceServiceClient.ClientCertificate.Source);
477
Assert.Equal("MySubject", app.
DashboardOptionsMonitor
.CurrentValue.ResourceServiceClient.ClientCertificate.Subject);