次の方法で共有


IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState メソッド

定義

更新された認証状態データを に提供します AuthenticationStateProvider

public:
 void SetAuthenticationState(System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ authenticationStateTask);
public void SetAuthenticationState (System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> authenticationStateTask);
abstract member SetAuthenticationState : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unit
Public Sub SetAuthenticationState (authenticationStateTask As Task(Of AuthenticationState))

パラメーター

authenticationStateTask
Task<AuthenticationState>

更新 AuthenticationStateされた で解決されるタスク。

適用対象