AuthenticationStateProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information about the authentication state of the current user.
public ref class AuthenticationStateProvider abstract
public abstract class AuthenticationStateProvider
type AuthenticationStateProvider = class
Public MustInherit Class AuthenticationStateProvider
- Inheritance
-
AuthenticationStateProvider
- Derived
Constructors
AuthenticationStateProvider() |
Methods
GetAuthenticationStateAsync() |
Asynchronously gets an AuthenticationState that describes the current user. |
NotifyAuthenticationStateChanged(Task<AuthenticationState>) |
Raises the AuthenticationStateChanged event. |
Events
AuthenticationStateChanged |
An event that provides notification when the AuthenticationState has changed. For example, this event may be raised if a user logs in or out. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for