Condividi tramite


RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>.GetAuthenticationStateAsync Metodo

Definizione

Ottiene in modo asincrono un oggetto AuthenticationState che descrive l'utente corrente.

public:
 override System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ GetAuthenticationStateAsync();
public override System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> GetAuthenticationStateAsync ();
override this.GetAuthenticationStateAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState>
Public Overrides Function GetAuthenticationStateAsync () As Task(Of AuthenticationState)

Restituisce

Un'attività che, quando risolta, fornisce un'istanza AuthenticationState che descrive l'utente corrente.

Si applica a