Show / Hide Table of Contents

Class IdentitySessionChecker

Inheritance
object
IdentitySessionChecker
Implements
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Identity.Session
Assembly: Volo.Abp.Identity.Pro.Domain.dll
Syntax
public class IdentitySessionChecker : ITransientDependency

Constructors

IdentitySessionChecker(IOptions<AbpClaimsPrincipalFactoryOptions>, IdentitySessionManager, IDistributedCache<IdentitySessionCacheItem>, IClock, IWebClientInfoProvider, IOptions<IdentitySessionCheckerOptions>)

Declaration
public IdentitySessionChecker(IOptions<AbpClaimsPrincipalFactoryOptions> abpClaimsPrincipalFactoryOption, IdentitySessionManager identitySessionManager, IDistributedCache<IdentitySessionCacheItem> cache, IClock clock, IWebClientInfoProvider webClientInfoProvider, IOptions<IdentitySessionCheckerOptions> options)
Parameters
Type Name Description
IOptions<AbpClaimsPrincipalFactoryOptions> abpClaimsPrincipalFactoryOption
IdentitySessionManager identitySessionManager
IDistributedCache<IdentitySessionCacheItem> cache
IClock clock
IWebClientInfoProvider webClientInfoProvider
IOptions<IdentitySessionCheckerOptions> options

Properties

AbpClaimsPrincipalFactoryOptions

Declaration
protected IOptions<AbpClaimsPrincipalFactoryOptions> AbpClaimsPrincipalFactoryOptions { get; }
Property Value
Type Description
IOptions<AbpClaimsPrincipalFactoryOptions>

Cache

Declaration
protected IDistributedCache<IdentitySessionCacheItem> Cache { get; }
Property Value
Type Description
IDistributedCache<IdentitySessionCacheItem>

Clock

Declaration
protected IClock Clock { get; }
Property Value
Type Description
IClock

IdentitySessionManager

Declaration
protected IdentitySessionManager IdentitySessionManager { get; }
Property Value
Type Description
IdentitySessionManager

Logger

Declaration
public ILogger<IdentitySessionChecker> Logger { get; set; }
Property Value
Type Description
ILogger<IdentitySessionChecker>

Options

Declaration
protected IOptions<IdentitySessionCheckerOptions> Options { get; }
Property Value
Type Description
IOptions<IdentitySessionCheckerOptions>

WebClientInfoProvider

Declaration
protected IWebClientInfoProvider WebClientInfoProvider { get; }
Property Value
Type Description
IWebClientInfoProvider

Methods

IsValidateAsync(string)

Declaration
public virtual Task<bool> IsValidateAsync(string sessionId)
Parameters
Type Name Description
string sessionId
Returns
Type Description
Task<bool>

Implements

ITransientDependency

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