Table of Contents

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 IPersistedGrantStore

The store.

serializer IPersistentGrantSerializer

The serializer.

logger ILogger<DefaultPersistedGrantService>

The logger.

Methods

GetAllGrantsAsync(string)

public Task<IEnumerable<Grant>> GetAllGrantsAsync(string subjectId)

Parameters

subjectId string

Returns

Task<IEnumerable<Grant>>

RemoveAllGrantsAsync(string, string, string)

public Task RemoveAllGrantsAsync(string subjectId, string clientId = null, string sessionId = null)

Parameters

subjectId string
clientId string
sessionId string

Returns

Task