Show / Hide Table of Contents

Interface IIdentitySessionRepository

Inherited Members
IBasicRepository<IdentitySession, Guid>.DeleteAsync(Guid, bool, CancellationToken)
IBasicRepository<IdentitySession, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
IBasicRepository<IdentitySession>.InsertAsync(IdentitySession, bool, CancellationToken)
IBasicRepository<IdentitySession>.InsertManyAsync(IEnumerable<IdentitySession>, bool, CancellationToken)
IBasicRepository<IdentitySession>.UpdateAsync(IdentitySession, bool, CancellationToken)
IBasicRepository<IdentitySession>.UpdateManyAsync(IEnumerable<IdentitySession>, bool, CancellationToken)
IBasicRepository<IdentitySession>.DeleteAsync(IdentitySession, bool, CancellationToken)
IBasicRepository<IdentitySession>.DeleteManyAsync(IEnumerable<IdentitySession>, bool, CancellationToken)
IReadOnlyBasicRepository<IdentitySession, Guid>.GetAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<IdentitySession, Guid>.FindAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<IdentitySession>.GetListAsync(bool, CancellationToken)
IReadOnlyBasicRepository<IdentitySession>.GetCountAsync(CancellationToken)
IReadOnlyBasicRepository<IdentitySession>.GetPagedListAsync(int, int, string, bool, CancellationToken)
IRepository.IsChangeTrackingEnabled
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public interface IIdentitySessionRepository : IBasicRepository<IdentitySession, Guid>, IBasicRepository<IdentitySession>, IReadOnlyBasicRepository<IdentitySession, Guid>, IReadOnlyBasicRepository<IdentitySession>, IRepository

Methods

DeleteAllAsync(Guid, Guid?, CancellationToken)

Declaration
Task DeleteAllAsync(Guid userId, Guid? exceptSessionId = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid userId
Guid? exceptSessionId
CancellationToken cancellationToken
Returns
Type Description
Task

DeleteAllAsync(Guid, string, Guid?, CancellationToken)

Declaration
Task DeleteAllAsync(Guid userId, string device, Guid? exceptSessionId = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid userId
string device
Guid? exceptSessionId
CancellationToken cancellationToken
Returns
Type Description
Task

DeleteAllAsync(TimeSpan, CancellationToken)

Declaration
Task DeleteAllAsync(TimeSpan inactiveTimeSpan, CancellationToken cancellationToken = default)
Parameters
Type Name Description
TimeSpan inactiveTimeSpan
CancellationToken cancellationToken
Returns
Type Description
Task

ExistAsync(Guid, CancellationToken)

Declaration
Task<bool> ExistAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ExistAsync(string, CancellationToken)

Declaration
Task<bool> ExistAsync(string sessionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sessionId
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

FindAsync(string, CancellationToken)

Declaration
Task<IdentitySession> FindAsync(string sessionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sessionId
CancellationToken cancellationToken
Returns
Type Description
Task<IdentitySession>

GetAsync(string, CancellationToken)

Declaration
Task<IdentitySession> GetAsync(string sessionId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sessionId
CancellationToken cancellationToken
Returns
Type Description
Task<IdentitySession>

GetCountAsync(Guid?, string, string, CancellationToken)

Declaration
Task<long> GetCountAsync(Guid? userId = null, string device = null, string clientId = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid? userId
string device
string clientId
CancellationToken cancellationToken
Returns
Type Description
Task<long>

GetListAsync(string, int, int, Guid?, string, string, CancellationToken)

Declaration
Task<List<IdentitySession>> GetListAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, Guid? userId = null, string device = null, string clientId = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sorting
int maxResultCount
int skipCount
Guid? userId
string device
string clientId
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentitySession>>

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