Compartilhar via


IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState Método

Definição

Fornece dados de estado de autenticação atualizados para o 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))

Parâmetros

authenticationStateTask
Task<AuthenticationState>

Uma tarefa que é resolvida com o atualizado AuthenticationState.

Aplica-se a