Dela via


AuthenticationStateProvider.NotifyAuthenticationStateChanged Method

Definition

Raises the AuthenticationStateChanged event.

protected:
 void NotifyAuthenticationStateChanged(System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^> ^ task);
protected void NotifyAuthenticationStateChanged (System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> task);
member this.NotifyAuthenticationStateChanged : System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.Authorization.AuthenticationState> -> unit
Protected Sub NotifyAuthenticationStateChanged (task As Task(Of AuthenticationState))

Parameters

task
Task<AuthenticationState>

A Task that supplies the updated AuthenticationState.

Applies to