Aracılığıyla paylaş


AuthenticationStateProvider.GetAuthenticationStateAsync Yöntem

Tanım

Zaman uyumsuz olarak geçerli kullanıcıyı tanımlayan bir AuthenticationState alır.

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

Döndürülenler

Çözümlendiğinde geçerli kullanıcıyı tanımlayan bir örnek veren görev AuthenticationState .

Şunlara uygulanır