다음을 통해 공유


AuthenticationStateProvider.GetAuthenticationStateAsync 메서드

정의

현재 사용자를 설명하는 를 AuthenticationState 비동기적으로 가져옵니다.

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)

반환

해결되면 현재 사용자를 설명하는 instance 제공하는 AuthenticationState 작업입니다.

적용 대상