Class AbpAuthenticationState
Inheritance
AbpAuthenticationState
Assembly: Volo.Abp.AspNetCore.Components.Web.dll
Syntax
public class AbpAuthenticationState : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Constructors
AbpAuthenticationState()
Declaration
public AbpAuthenticationState()
Properties
AuthenticationOptions
Declaration
[Inject]
protected IOptions<AbpAuthenticationOptions> AuthenticationOptions { get; set; }
Property Value
CurrentUser
Declaration
[Inject]
protected ICurrentUser CurrentUser { get; set; }
Property Value
LocalStorage
Declaration
[Inject]
protected ILocalStorageService LocalStorage { get; set; }
Property Value
NavigationManager
Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
Methods
ClearAuthenticationStateAsync()
Declaration
protected virtual Task ClearAuthenticationStateAsync()
Returns
OnAfterRenderAsync(bool)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
bool |
firstRender |
|
Returns
Overrides
OnLocationChangingAsync(LocationChangingContext)
Declaration
protected virtual ValueTask OnLocationChangingAsync(LocationChangingContext context)
Parameters
Returns
SetAuthenticationStateAsync()
Declaration
protected virtual Task SetAuthenticationStateAsync()
Returns
Implements
Extension Methods