Udostępnij za pośrednictwem


ServerAuthenticationStateProvider.SetAuthenticationState Metoda

Definicja

Dostarcza zaktualizowane dane stanu uwierzytelniania do elementu 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))

Parametry

authenticationStateTask
Task<AuthenticationState>

Zadanie, które rozwiązuje problem ze zaktualizowanym AuthenticationStateelementem .

Implementuje

Dotyczy