Freigeben über


IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState Methode

Definition

Stellt aktualisierte Authentifizierungsstatusdaten für bereit 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))

Parameter

authenticationStateTask
Task<AuthenticationState>

Eine Aufgabe, die mit dem aktualisierten AuthenticationStateaufgelöst wird.

Gilt für: