Table of Contents

Class IdentityAuthenticationStateProvider

Namespace
Oqtane.Providers
Assembly
Oqtane.Client.dll
public class IdentityAuthenticationStateProvider : AuthenticationStateProvider
Inheritance
object
AuthenticationStateProvider
IdentityAuthenticationStateProvider

Constructors

IdentityAuthenticationStateProvider(IServiceProvider)

public IdentityAuthenticationStateProvider(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

Methods

GetAuthenticationStateAsync()

Asynchronously gets an Microsoft.AspNetCore.Components.Authorization.AuthenticationState that describes the current user.

public override Task<AuthenticationState> GetAuthenticationStateAsync()

Returns

Task<AuthenticationState>

A task that, when resolved, gives an Microsoft.AspNetCore.Components.Authorization.AuthenticationState instance that describes the current user.

NotifyAuthenticationChanged()

public void NotifyAuthenticationChanged()