Share via


AuthenticationStateProvider Class

Definition

Provides information about the authentication state of the current user.

public ref class AuthenticationStateProvider abstract
public abstract class AuthenticationStateProvider
type AuthenticationStateProvider = class
Public MustInherit Class AuthenticationStateProvider
Inheritance
AuthenticationStateProvider
Derived

Constructors

Name Description
AuthenticationStateProvider()

Methods

Name Description
GetAuthenticationStateAsync()

Asynchronously gets an AuthenticationState that describes the current user.

NotifyAuthenticationStateChanged(Task<AuthenticationState>)

Raises the AuthenticationStateChanged event.

Events

Name Description
AuthenticationStateChanged

An event that provides notification when the AuthenticationState has changed. For example, this event may be raised if a user logs in or out.

Applies to