AuthenticationStateProvider クラス

定義

現在のユーザーの認証状態に関する情報を提供します。

public ref class AuthenticationStateProvider abstract
public abstract class AuthenticationStateProvider
type AuthenticationStateProvider = class
Public MustInherit Class AuthenticationStateProvider
継承
AuthenticationStateProvider
派生

コンストラクター

AuthenticationStateProvider()

現在のユーザーの認証状態に関する情報を提供します。

メソッド

GetAuthenticationStateAsync()

現在のユーザーを記述する を AuthenticationState 非同期に取得します。

NotifyAuthenticationStateChanged(Task<AuthenticationState>)

AuthenticationStateChanged イベントを発生させます。

イベント

AuthenticationStateChanged

が変更されたときに通知を提供する AuthenticationState イベント。 たとえば、ユーザーがログインまたはログアウトすると、このイベントが発生する可能性があります。

適用対象