Class DefaultPersistedGrantService
- Namespace
- Duende.IdentityServer.Services
- Assembly
- Duende.IdentityServer.dll
Default persisted grant service
public class DefaultPersistedGrantService : IPersistedGrantService
- Inheritance
-
DefaultPersistedGrantService
- Implements
- Inherited Members
Constructors
DefaultPersistedGrantService(IPersistedGrantStore, IPersistentGrantSerializer, ILogger<DefaultPersistedGrantService>)
Initializes a new instance of the DefaultPersistedGrantService class.
public DefaultPersistedGrantService(IPersistedGrantStore store, IPersistentGrantSerializer serializer, ILogger<DefaultPersistedGrantService> logger)
Parameters
store
IPersistedGrantStoreThe store.
serializer
IPersistentGrantSerializerThe serializer.
logger
ILogger<DefaultPersistedGrantService>The logger.
Methods
GetAllGrantsAsync(string)
public Task<IEnumerable<Grant>> GetAllGrantsAsync(string subjectId)
Parameters
subjectId
string
Returns
RemoveAllGrantsAsync(string, string, string)
public Task RemoveAllGrantsAsync(string subjectId, string clientId = null, string sessionId = null)