Table of Contents

Interface IAppPrincipalAuthenticationStateProvider

Namespace
Arc4u.Blazor
Assembly
Arc4u.OAuth2.Blazor.dll

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

authenticationStateData AuthenticationStateData

The claims received from the server, or null for an anonymous user.

Returns

Task<AuthenticationState>

The authentication state.