8 references to AuthenticationState
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.cs (1)
100var authenticationState = new AuthenticationState(httpContext.User);
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitHost.cs (1)
638var authenticationState = new AuthenticationState(user);
Circuits\RevalidatingServerAuthenticationStateProvider.cs (1)
105var anonymousState = new AuthenticationState(anonymousUser);
Microsoft.AspNetCore.Components.WebAssembly.Authentication (5)
Options\AuthenticationStateDeserializationOptions.cs (2)
16Task.FromResult(new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity()))); 33new AuthenticationState(new ClaimsPrincipal(
Services\DeserializedAuthenticationStateProvider.cs (1)
18Task.FromResult(new AuthenticationState(new ClaimsPrincipal(new ClaimsIdentity())));
Services\RemoteAuthenticationService.cs (2)
87public override async Task<AuthenticationState> GetAuthenticationStateAsync() => new AuthenticationState(await GetUser(useCache: true)); 231static async Task<AuthenticationState> UpdateAuthenticationState(Task<ClaimsPrincipal> futureUser) => new AuthenticationState(await futureUser);