2 writes to BrowserToken
Aspire.Dashboard (1)
Configuration\PostConfigureDashboardOptions.cs (1)
64
options.Frontend.
BrowserToken
= token;
Aspire.Dashboard.Tests (1)
Middleware\ValidateTokenMiddlewareTests.cs (1)
83
BrowserToken
= expectedToken,
6 references to BrowserToken
Aspire.Dashboard (5)
Configuration\DashboardOptions.cs (2)
204
_browserTokenBytes =
BrowserToken
!= null ? Encoding.UTF8.GetBytes(
BrowserToken
) : null;
Configuration\PostConfigureDashboardOptions.cs (1)
57
if (options.Frontend.AuthMode == FrontendAuthMode.BrowserToken && string.IsNullOrEmpty(options.Frontend.
BrowserToken
))
Configuration\ValidateDashboardOptions.cs (1)
45
if (string.IsNullOrEmpty(options.Frontend.
BrowserToken
))
DashboardWebApplication.cs (1)
338
LoggingHelpers.WriteDashboardUrl(_logger, frontendEndpointInfo.GetResolvedAddress(replaceIPAnyWithLocalhost: true), options.Frontend.
BrowserToken
, isContainer);
Aspire.Dashboard.Tests (1)
Integration\StartupTests.cs (1)
438
Assert.Equal(16, Convert.FromHexString(app.DashboardOptionsMonitor.CurrentValue.Frontend.
BrowserToken
!).Length);