Sdílet prostřednictvím


IHostEnvironmentAuthenticationStateProvider.SetAuthenticationState Metoda

Definice

Poskytuje aktualizovaná data o stavu ověřování do .AuthenticationStateProvider

public:
 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
Public Sub SetAuthenticationState (authenticationStateTask As Task(Of AuthenticationState))

Parametry

authenticationStateTask
Task<AuthenticationState>

Úloha, která se vyřeší s aktualizovaným AuthenticationStatenástrojem .

Platí pro