Partager via


IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState Méthode

Définition

Fournit les données d’état d’authentification mises à jour à .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))

Paramètres

authenticationStateTask
Task<AuthenticationState>

Tâche qui se résout avec la mise à jour AuthenticationState.

S’applique à