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