Compartir a través de


IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState Método

Definición

Proporciona los datos de estado de autenticación actualizados a 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>

Tarea que se resuelve con el objeto actualizado AuthenticationState.

Se aplica a