AuthenticationStateProvider.AuthenticationStateChanged 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
事件,可在 變更時 AuthenticationState 提供通知。 例如,如果使用者登入或登出,可能會引發此事件。
public:
event Microsoft::AspNetCore::Components::Authorization::AuthenticationStateChangedHandler ^ AuthenticationStateChanged;
public event Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler AuthenticationStateChanged;
public event Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler? AuthenticationStateChanged;
member this.AuthenticationStateChanged : Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler
Public Custom Event AuthenticationStateChanged As AuthenticationStateChangedHandler
Public Event AuthenticationStateChanged As AuthenticationStateChangedHandler