Share via


ServerAuthenticationStateProvider.GetAuthenticationStateAsync Methode

Definition

Ruft asynchron einen AuthenticationState ab, der den aktuellen Benutzer beschreibt.

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)

Gibt zurück

Eine Aufgabe, die bei Auflösung einen AuthenticationState instance gibt, der den aktuellen Benutzer beschreibt.

Gilt für: