Share via


AuthenticationStateProvider.GetAuthenticationStateAsync メソッド

定義

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

public:
 abstract System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ GetAuthenticationStateAsync();
public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> GetAuthenticationStateAsync ();
abstract member GetAuthenticationStateAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>
Public MustOverride Function GetAuthenticationStateAsync () As Task(Of AuthenticationState)

戻り値

解決されると、現在のユーザーを記述する AuthenticationState インスタンスを提供するタスク。

適用対象