Condividi tramite


IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState Metodo

Definizione

Fornisce i dati dello stato di autenticazione aggiornati all'oggetto 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))

Parametri

authenticationStateTask
Task<AuthenticationState>

Attività che viene risolta con l'oggetto aggiornato AuthenticationState.

Si applica a