Class IdentityAuthenticationStateProvider
public class IdentityAuthenticationStateProvider : AuthenticationStateProvider
- Inheritance
-
IdentityAuthenticationStateProvider
Constructors
IdentityAuthenticationStateProvider(IServiceProvider)
public IdentityAuthenticationStateProvider(IServiceProvider serviceProvider)
Parameters
serviceProvider
IServiceProvider
Methods
GetAuthenticationStateAsync()
Asynchronously gets an AuthenticationState that describes the current user.
public override Task<AuthenticationState> GetAuthenticationStateAsync()
Returns
- Task<AuthenticationState>
A task that, when resolved, gives an AuthenticationState instance that describes the current user.
NotifyAuthenticationChanged()
public void NotifyAuthenticationChanged()