Compartir a través de


ServerAuthenticationStateProvider.GetAuthenticationStateAsync Método

Definición

Obtiene de forma asincrónica un AuthenticationState objeto que describe al usuario actual.

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)

Devoluciones

Una tarea que, cuando se resuelve, proporciona una AuthenticationState instancia que describe al usuario actual.

Se aplica a