Show / Hide Table of Contents

Class AbpOpenIddictTokenCache

Inheritance
object
AbpOpenIddictCacheBase<OpenIddictToken, OpenIddictTokenModel, IOpenIddictTokenStore<OpenIddictTokenModel>>
AbpOpenIddictTokenCache
Implements
IOpenIddictTokenCache<OpenIddictTokenModel>
ITransientDependency
Inherited Members
AbpOpenIddictCacheBase<OpenIddictToken, OpenIddictTokenModel, IOpenIddictTokenStore<OpenIddictTokenModel>>.Logger
AbpOpenIddictCacheBase<OpenIddictToken, OpenIddictTokenModel, IOpenIddictTokenStore<OpenIddictTokenModel>>.Cache
AbpOpenIddictCacheBase<OpenIddictToken, OpenIddictTokenModel, IOpenIddictTokenStore<OpenIddictTokenModel>>.ArrayCache
AbpOpenIddictCacheBase<OpenIddictToken, OpenIddictTokenModel, IOpenIddictTokenStore<OpenIddictTokenModel>>.Store
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.OpenIddict.Tokens
Assembly: Volo.Abp.OpenIddict.Domain.dll
Syntax
public class AbpOpenIddictTokenCache : AbpOpenIddictCacheBase<OpenIddictToken, OpenIddictTokenModel, IOpenIddictTokenStore<OpenIddictTokenModel>>, IOpenIddictTokenCache<OpenIddictTokenModel>, ITransientDependency

Constructors

AbpOpenIddictTokenCache(IDistributedCache<OpenIddictTokenModel>, IDistributedCache<OpenIddictTokenModel[]>, IOpenIddictTokenStore<OpenIddictTokenModel>)

Declaration
public AbpOpenIddictTokenCache(IDistributedCache<OpenIddictTokenModel> cache, IDistributedCache<OpenIddictTokenModel[]> arrayCache, IOpenIddictTokenStore<OpenIddictTokenModel> store)
Parameters
Type Name Description
IDistributedCache<OpenIddictTokenModel> cache
IDistributedCache<OpenIddictTokenModel[]> arrayCache
IOpenIddictTokenStore<OpenIddictTokenModel> store

Methods

AddAsync(OpenIddictTokenModel, CancellationToken)

Declaration
public virtual ValueTask AddAsync(OpenIddictTokenModel token, CancellationToken cancellationToken)
Parameters
Type Name Description
OpenIddictTokenModel token
CancellationToken cancellationToken
Returns
Type Description
ValueTask

FindAsync(string, string, string, string, CancellationToken)

Declaration
public virtual IAsyncEnumerable<OpenIddictTokenModel> FindAsync(string subject, string client, string status, string type, CancellationToken cancellationToken)
Parameters
Type Name Description
string subject
string client
string status
string type
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<OpenIddictTokenModel>

FindAsync(string, string, string, CancellationToken)

Declaration
public virtual IAsyncEnumerable<OpenIddictTokenModel> FindAsync(string subject, string client, string status, CancellationToken cancellationToken)
Parameters
Type Name Description
string subject
string client
string status
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<OpenIddictTokenModel>

FindAsync(string, string, CancellationToken)

Declaration
public virtual IAsyncEnumerable<OpenIddictTokenModel> FindAsync(string subject, string client, CancellationToken cancellationToken)
Parameters
Type Name Description
string subject
string client
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<OpenIddictTokenModel>

FindByApplicationIdAsync(string, CancellationToken)

Declaration
public virtual IAsyncEnumerable<OpenIddictTokenModel> FindByApplicationIdAsync(string identifier, CancellationToken cancellationToken)
Parameters
Type Name Description
string identifier
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<OpenIddictTokenModel>

FindByAuthorizationIdAsync(string, CancellationToken)

Declaration
public virtual IAsyncEnumerable<OpenIddictTokenModel> FindByAuthorizationIdAsync(string identifier, CancellationToken cancellationToken)
Parameters
Type Name Description
string identifier
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<OpenIddictTokenModel>

FindByIdAsync(string, CancellationToken)

Declaration
public virtual ValueTask<OpenIddictTokenModel> FindByIdAsync(string identifier, CancellationToken cancellationToken)
Parameters
Type Name Description
string identifier
CancellationToken cancellationToken
Returns
Type Description
ValueTask<OpenIddictTokenModel>

FindByReferenceIdAsync(string, CancellationToken)

Declaration
public virtual ValueTask<OpenIddictTokenModel> FindByReferenceIdAsync(string identifier, CancellationToken cancellationToken)
Parameters
Type Name Description
string identifier
CancellationToken cancellationToken
Returns
Type Description
ValueTask<OpenIddictTokenModel>

FindBySubjectAsync(string, CancellationToken)

Declaration
public virtual IAsyncEnumerable<OpenIddictTokenModel> FindBySubjectAsync(string subject, CancellationToken cancellationToken)
Parameters
Type Name Description
string subject
CancellationToken cancellationToken
Returns
Type Description
IAsyncEnumerable<OpenIddictTokenModel>

RemoveAsync(OpenIddictTokenModel, CancellationToken)

Declaration
public virtual ValueTask RemoveAsync(OpenIddictTokenModel token, CancellationToken cancellationToken)
Parameters
Type Name Description
OpenIddictTokenModel token
CancellationToken cancellationToken
Returns
Type Description
ValueTask

Implements

OpenIddict.Abstractions.IOpenIddictTokenCache<>
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