Show / Hide Table of Contents

Interface IPersistentGrantRepository

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

Methods

DeleteAsync(string, string, string, string, CancellationToken)

Declaration
Task DeleteAsync(string subjectId = null, string sessionId = null, string clientId = null, string type = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string subjectId
string sessionId
string clientId
string type
CancellationToken cancellationToken
Returns
Type Description
Task

DeleteExpirationAsync(DateTime, CancellationToken)

Declaration
Task DeleteExpirationAsync(DateTime maxExpirationDate, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DateTime maxExpirationDate
CancellationToken cancellationToken
Returns
Type Description
Task

FindByKeyAsync(string, CancellationToken)

Declaration
Task<PersistedGrant> FindByKeyAsync(string key, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string key
CancellationToken cancellationToken
Returns
Type Description
Task<PersistedGrant>

GetListAsync(string, string, string, string, bool, CancellationToken)

Declaration
Task<List<PersistedGrant>> GetListAsync(string subjectId, string sessionId, string clientId, string type, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string subjectId
string sessionId
string clientId
string type
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<PersistedGrant>>

GetListByExpirationAsync(DateTime, int, CancellationToken)

Declaration
Task<List<PersistedGrant>> GetListByExpirationAsync(DateTime maxExpirationDate, int maxResultCount, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DateTime maxExpirationDate
int maxResultCount
CancellationToken cancellationToken
Returns
Type Description
Task<List<PersistedGrant>>

GetListBySubjectIdAsync(string, CancellationToken)

Declaration
Task<List<PersistedGrant>> GetListBySubjectIdAsync(string key, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string key
CancellationToken cancellationToken
Returns
Type Description
Task<List<PersistedGrant>>

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