Class AccountIdleComponent
Inheritance
AccountIdleComponent
Assembly: Volo.Abp.Account.Pro.Public.Blazor.Shared.dll
Syntax
public class AccountIdleComponent : AbpComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IAsyncDisposable
Constructors
AccountIdleComponent()
Declaration
public AccountIdleComponent()
Properties
ApplicationConfigurationChangedService
Declaration
[Inject]
protected ApplicationConfigurationChangedService ApplicationConfigurationChangedService { get; set; }
Property Value
AspNetCoreComponentsWebOptions
Declaration
[Inject]
protected IOptions<AbpAspNetCoreComponentsWebOptions> AspNetCoreComponentsWebOptions { get; set; }
Property Value
AuthenticationOptions
Declaration
[Inject]
protected IOptions<AbpAuthenticationOptions> AuthenticationOptions { get; set; }
Property Value
CountDown
Declaration
protected int CountDown { get; set; }
Property Value
CurrentApplicationConfigurationCacheResetService
Declaration
[Inject]
protected ICurrentApplicationConfigurationCacheResetService CurrentApplicationConfigurationCacheResetService { get; set; }
Property Value
DotNetObjectRef
Declaration
protected DotNetObjectReference<AccountIdleComponent> DotNetObjectRef { get; set; }
Property Value
IAccountIdleCheckService
Declaration
[Inject]
protected IAccountIdleCheckService IAccountIdleCheckService { get; set; }
Property Value
IdleTimeoutMinutes
Declaration
protected int IdleTimeoutMinutes { get; set; }
Property Value
IdleTrackerService
Declaration
[Inject]
protected AbpIdleTrackerService<AccountIdleComponent> IdleTrackerService { get; set; }
Property Value
IsAccountIdleTrackerCreated
Declaration
protected bool IsAccountIdleTrackerCreated { get; set; }
Property Value
IsEnabled
Declaration
protected bool IsEnabled { get; set; }
Property Value
ModalRef
Declaration
protected Modal ModalRef { get; set; }
Property Value
NavigationManager
Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
SettingProvider
Declaration
[Inject]
protected ISettingProvider SettingProvider { get; set; }
Property Value
SignOutText
Declaration
protected string SignOutText { get; set; }
Property Value
SignOutTimer
Declaration
[Inject]
protected AbpAsyncTimer SignOutTimer { get; set; }
Property Value
Methods
ApplicationConfigurationChanged()
Declaration
protected virtual void ApplicationConfigurationChanged()
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Overrides
CloseModalAsync()
Declaration
protected virtual Task CloseModalAsync()
Returns
ClosingModal(ModalClosingEventArgs)
Declaration
protected virtual Task ClosingModal(ModalClosingEventArgs eventArgs)
Parameters
Type |
Name |
Description |
ModalClosingEventArgs |
eventArgs |
|
Returns
CreateAccountIdleTrackerAsync()
Declaration
protected virtual Task CreateAccountIdleTrackerAsync()
Returns
DisposeAsync()
Declaration
public virtual ValueTask DisposeAsync()
Returns
InitializeAccountIdleTrackerAsync()
Declaration
protected virtual Task InitializeAccountIdleTrackerAsync()
Returns
NavigateToLogout()
Declaration
protected virtual void NavigateToLogout()
OnAccountIdleSettingsChangedAsync()
Declaration
[JSInvokable]
public virtual Task OnAccountIdleSettingsChangedAsync()
Returns
OnAfterRenderAsync(bool)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
bool |
firstRender |
|
Returns
Overrides
OnIdleCallbackAsync(IdleTrackerState)
Declaration
[JSInvokable]
public virtual Task OnIdleCallbackAsync(IdleTrackerState state)
Parameters
Returns
OnSignOutClickedAsync()
Declaration
protected virtual Task OnSignOutClickedAsync()
Returns
OnSignOutTimerElapsedAsync(AbpAsyncTimer)
Declaration
protected virtual Task OnSignOutTimerElapsedAsync(AbpAsyncTimer args)
Parameters
Returns
OnStaySignedInClickedAsync()
Declaration
protected virtual Task OnStaySignedInClickedAsync()
Returns
OnStorageCallbackAsync(IdleTrackerState)
Declaration
[JSInvokable]
public virtual Task OnStorageCallbackAsync(IdleTrackerState state)
Parameters
Returns
ResetIdleTrackerAsync()
Declaration
protected virtual Task ResetIdleTrackerAsync()
Returns
Implements
Extension Methods