Class PersistedGrantStore
Inheritance
System.Object
PersistedGrantStore
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
Properties
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Type |
Description |
IGuidGenerator |
|
ObjectMapper
Declaration
protected IObjectMapper<AbpIdentityServerDomainModule> ObjectMapper { get; }
Property Value
PersistentGrantRepository
Declaration
protected IPersistentGrantRepository PersistentGrantRepository { get; }
Property Value
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