Table of Contents

Class CredentialsAuthenticationStateProvider

Namespace
The.Web.Security
Assembly
Instagile.Web.Client.dll
public abstract class CredentialsAuthenticationStateProvider : AuthenticationStateProvider, IHostEnvironmentAuthenticationStateProvider
Inheritance
CredentialsAuthenticationStateProvider
Implements
Inherited Members

Constructors

CredentialsAuthenticationStateProvider()

public CredentialsAuthenticationStateProvider()

Methods

GetAuthenticationStateAsync()

Asynchronously gets an AuthenticationState that describes the current user.

public override Task<AuthenticationState> GetAuthenticationStateAsync()

Returns

Task<AuthenticationState>

A task that, when resolved, gives an AuthenticationState instance that describes the current user.

SetAuthenticationState(Task<AuthenticationState>)

Supplies updated authentication state data to the AuthenticationStateProvider.

public void SetAuthenticationState(Task<AuthenticationState> authenticationStateTask)

Parameters

authenticationStateTask Task<AuthenticationState>

A task that resolves with the updated AuthenticationState.