ServerAuthenticationStateProvider 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.
An AuthenticationStateProvider intended for use in server-side Blazor.
public ref class ServerAuthenticationStateProvider : Microsoft::AspNetCore::Components::Authorization::AuthenticationStateProvider, Microsoft::AspNetCore::Components::Authorization::IHostEnvironmentAuthenticationStateProviderpublic class ServerAuthenticationStateProvider : Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider, Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvidertype ServerAuthenticationStateProvider = class
    inherit AuthenticationStateProvider
    interface IHostEnvironmentAuthenticationStateProviderPublic Class ServerAuthenticationStateProvider
Inherits AuthenticationStateProvider
Implements IHostEnvironmentAuthenticationStateProvider- Inheritance
- Derived
- Implements
Constructors
| ServerAuthenticationStateProvider() | 
Methods
| GetAuthenticationStateAsync() | Asynchronously gets an AuthenticationState that describes the current user. | 
| NotifyAuthenticationStateChanged(Task<AuthenticationState>) | Raises the AuthenticationStateChanged event.(Inherited from AuthenticationStateProvider) | 
| SetAuthenticationState(Task<AuthenticationState>) | Supplies updated authentication state data to the AuthenticationStateProvider. | 
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.(Inherited from AuthenticationStateProvider) |