Show / Hide Table of Contents

Class PersistedGrantStore

Inheritance
System.Object
PersistedGrantStore
Namespace: Volo.Abp.IdentityServer.Grants
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public class PersistedGrantStore : IPersistedGrantStore

Constructors

PersistedGrantStore(IPersistentGrantRepository, IObjectMapper<AbpIdentityServerDomainModule>, IGuidGenerator)

Declaration
public PersistedGrantStore(IPersistentGrantRepository persistentGrantRepository, IObjectMapper<AbpIdentityServerDomainModule> objectMapper, IGuidGenerator guidGenerator)
Parameters
Type Name Description
IPersistentGrantRepository persistentGrantRepository
IObjectMapper<AbpIdentityServerDomainModule> objectMapper
IGuidGenerator guidGenerator

Properties

GuidGenerator

Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Type Description
IGuidGenerator

ObjectMapper

Declaration
protected IObjectMapper<AbpIdentityServerDomainModule> ObjectMapper { get; }
Property Value
Type Description
IObjectMapper<AbpIdentityServerDomainModule>

PersistentGrantRepository

Declaration
protected IPersistentGrantRepository PersistentGrantRepository { get; }
Property Value
Type Description
IPersistentGrantRepository

Methods

GetAllAsync(String)

Declaration
public virtual Task<IEnumerable<IdentityServer4.Models.PersistedGrant>> GetAllAsync(string subjectId)
Parameters
Type Name Description
System.String subjectId
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<IdentityServer4.Models.PersistedGrant>>

GetAsync(String)

Declaration
public virtual Task<IdentityServer4.Models.PersistedGrant> GetAsync(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Threading.Tasks.Task<IdentityServer4.Models.PersistedGrant>

RemoveAllAsync(String, String)

Declaration
public virtual Task RemoveAllAsync(string subjectId, string clientId)
Parameters
Type Name Description
System.String subjectId
System.String clientId
Returns
Type Description
System.Threading.Tasks.Task

RemoveAllAsync(String, String, String)

Declaration
public virtual Task RemoveAllAsync(string subjectId, string clientId, string type)
Parameters
Type Name Description
System.String subjectId
System.String clientId
System.String type
Returns
Type Description
System.Threading.Tasks.Task

RemoveAsync(String)

Declaration
public virtual Task RemoveAsync(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Threading.Tasks.Task

StoreAsync(IdentityServer4.Models.PersistedGrant)

Declaration
public virtual Task StoreAsync(IdentityServer4.Models.PersistedGrant grant)
Parameters
Type Name Description
IdentityServer4.Models.PersistedGrant grant
Returns
Type Description
System.Threading.Tasks.Task

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft