Show / Hide Table of Contents

Class AbpAuthenticationState

Inheritance
object
ComponentBase
AbpAuthenticationState
Implements
IComponent
IHandleEvent
IHandleAfterRender
Inherited Members
ComponentBase.BuildRenderTree(RenderTreeBuilder)
ComponentBase.OnInitialized()
ComponentBase.OnInitializedAsync()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Components.Web.Security
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
Type Description
IOptions<AbpAuthenticationOptions>

CurrentUser

Declaration
[Inject]
protected ICurrentUser CurrentUser { get; set; }
Property Value
Type Description
ICurrentUser

LocalStorage

Declaration
[Inject]
protected ILocalStorageService LocalStorage { get; set; }
Property Value
Type Description
ILocalStorageService

NavigationManager

Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
Type Description
NavigationManager

Methods

ClearAuthenticationStateAsync()

Declaration
protected virtual Task ClearAuthenticationStateAsync()
Returns
Type Description
Task

OnAfterRenderAsync(bool)

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type Name Description
bool firstRender
Returns
Type Description
Task
Overrides
ComponentBase.OnAfterRenderAsync(bool)

OnLocationChangingAsync(LocationChangingContext)

Declaration
protected virtual ValueTask OnLocationChangingAsync(LocationChangingContext context)
Parameters
Type Name Description
LocationChangingContext context
Returns
Type Description
ValueTask

SetAuthenticationStateAsync()

Declaration
protected virtual Task SetAuthenticationStateAsync()
Returns
Type Description
Task

Implements

IComponent
IHandleEvent
IHandleAfterRender

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform