다음을 통해 공유


ServerAuthenticationStateProvider.SetAuthenticationState 메서드

정의

업데이트된 인증 상태 데이터를 에 AuthenticationStateProvider제공합니다.

public:
 virtual void SetAuthenticationState(System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ authenticationStateTask);
public void SetAuthenticationState (System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> authenticationStateTask);
abstract member SetAuthenticationState : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unit
override this.SetAuthenticationState : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unit
Public Sub SetAuthenticationState (authenticationStateTask As Task(Of AuthenticationState))

매개 변수

authenticationStateTask
Task<AuthenticationState>

업데이트 AuthenticationState된 로 확인되는 작업입니다.

구현

적용 대상