Class PersistentGrantRepository
Inheritance
System.Object
PersistentGrantRepository
Inherited Members
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.Grants.PersistedGrant>.FindAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.Grants.PersistedGrant>.DeleteAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.Grants.PersistedGrant>.EnsureCollectionLoadedAsync<TProperty>(Volo.Abp.IdentityServer.Grants.PersistedGrant, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.Grants.PersistedGrant>.EnsurePropertyLoadedAsync<TProperty>(Volo.Abp.IdentityServer.Grants.PersistedGrant, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.Grants.PersistedGrant>.WithDetails(Expression<>[])
Assembly: Volo.Abp.IdentityServer.EntityFrameworkCore.dll
Syntax
public class PersistentGrantRepository : EfCoreRepository<IIdentityServerDbContext, PersistedGrant, Guid>, IAsyncEnumerable<PersistedGrant>, IEfCoreRepository<PersistedGrant, Guid>, IEfCoreRepository<PersistedGrant>, IRepository<PersistedGrant>, IRepository<PersistedGrant, Guid>, ISupportsExplicitLoading<PersistedGrant, Guid>, IPersistentGrantRepository, IBasicRepository<PersistedGrant, Guid>
Constructors
PersistentGrantRepository(IDbContextProvider<IIdentityServerDbContext>)
Declaration
public PersistentGrantRepository(IDbContextProvider<IIdentityServerDbContext> dbContextProvider)
Parameters
Methods
DeleteAsync(String, String, String, CancellationToken)
Declaration
public virtual Task DeleteAsync(string subjectId, string clientId, string type, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
subjectId |
|
System.String |
clientId |
|
System.String |
type |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
DeleteAsync(String, String, CancellationToken)
Declaration
public virtual Task DeleteAsync(string subjectId, string clientId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
subjectId |
|
System.String |
clientId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
FindByKeyAsync(String, CancellationToken)
Declaration
public virtual Task<PersistedGrant> FindByKeyAsync(string key, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
GetListByExpirationAsync(DateTime, Int32, CancellationToken)
Declaration
public virtual Task<List<PersistedGrant>> GetListByExpirationAsync(DateTime maxExpirationDate, int maxResultCount, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.DateTime |
maxExpirationDate |
|
System.Int32 |
maxResultCount |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<PersistedGrant>> |
|
GetListBySubjectIdAsync(String, CancellationToken)
Declaration
public virtual Task<List<PersistedGrant>> GetListBySubjectIdAsync(string subjectId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
subjectId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<PersistedGrant>> |
|
Implements
IAsyncEnumerable<>
IBasicRepository<, >
Extension Methods