3 overrides of GetAuthenticationStateAsync
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\ServerAuthenticationStateProvider.cs (1)
16public override Task<AuthenticationState> GetAuthenticationStateAsync()
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
Services\DeserializedAuthenticationStateProvider.cs (1)
39public override Task<AuthenticationState> GetAuthenticationStateAsync() => _authenticationStateTask;
Services\RemoteAuthenticationService.cs (1)
87public override async Task<AuthenticationState> GetAuthenticationStateAsync() => new AuthenticationState(await GetUser(useCache: true));
5 references to GetAuthenticationStateAsync
Microsoft.AspNetCore.Components.Authorization (3)
_generated\0\CascadingAuthenticationState_razor.g.cs (1)
91.GetAuthenticationStateAsync();
CascadingAuthenticationStateServiceCollectionExtensions.cs (1)
37: base(authenticationStateProvider.GetAuthenticationStateAsync, isFixed: false)
IHostEnvironmentAuthenticationStateProvider.cs (1)
10/// it will receive the <see cref="AuthenticationState"/> returned by <see cref="AuthenticationStateProvider.GetAuthenticationStateAsync"/>
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.cs (1)
110authStateTask ??= authenticationStateProvider.GetAuthenticationStateAsync();
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
RemoteAuthenticatorViewCore.cs (1)
290var state = await AuthenticationProvider.GetAuthenticationStateAsync();