Class InMemoryPersistedGrantStore
- Namespace
- Duende.IdentityServer.Stores
- Assembly
- Duende.IdentityServer.dll
In-memory persisted grant store
public class InMemoryPersistedGrantStore : IPersistedGrantStore
- Inheritance
-
InMemoryPersistedGrantStore
- Implements
-
IPersistedGrantStore
- Inherited Members
Constructors
InMemoryPersistedGrantStore()
public InMemoryPersistedGrantStore()
Methods
GetAllAsync(PersistedGrantFilter)
public Task<IEnumerable<PersistedGrant>> GetAllAsync(PersistedGrantFilter filter)
Parameters
filter
PersistedGrantFilter
Returns
- Task<IEnumerable<PersistedGrant>>
GetAsync(string)
public Task<PersistedGrant> GetAsync(string key)
Parameters
key
string
Returns
- Task<PersistedGrant>
RemoveAllAsync(PersistedGrantFilter)
public Task RemoveAllAsync(PersistedGrantFilter filter)
Parameters
filter
PersistedGrantFilter
Returns
RemoveAsync(string)
public Task RemoveAsync(string key)
Parameters
key
string
Returns
StoreAsync(PersistedGrant)
public Task StoreAsync(PersistedGrant grant)
Parameters
grant
PersistedGrant