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

AuthenticationStateProvider()

Methods

GetAuthenticationStateAsync()

Asynchronously gets an AuthenticationState that describes the current user.

NotifyAuthenticationStateChanged(Task<AuthenticationState>)

Raises the AuthenticationStateChanged event.

Events

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