Partager via


ServerAuthenticationStateProvider.SetAuthenticationState Méthode

Définition

Fournit les données d’état d’authentification mises à jour au AuthenticationStateProvider.

public:
 virtual 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
override this.SetAuthenticationState : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unit
Public Sub SetAuthenticationState (authenticationStateTask As Task(Of AuthenticationState))

Paramètres

authenticationStateTask
Task<AuthenticationState>

Tâche qui se résout avec le mis à jour AuthenticationState.

Implémente

S’applique à