Interface IAppPrincipalAuthenticationStateProvider
Builds an authentication state whose user is an AppPrincipal from serialized authentication data.
public interface IAppPrincipalAuthenticationStateProvider
Methods
DeserializeAuthenticationStateAsync(AuthenticationStateData?)
Builds the authentication state from the serialized data.
Task<AuthenticationState> DeserializeAuthenticationStateAsync(AuthenticationStateData? authenticationStateData)
Parameters
authenticationStateDataAuthenticationStateDataThe claims received from the server, or null for an anonymous user.
Returns
- Task<AuthenticationState>
The authentication state.