Interface IPersistedGrantService
- Namespace
- Duende.IdentityServer.Services
- Assembly
- Duende.IdentityServer.dll
Implements persisted grant logic
public interface IPersistedGrantService
Methods
GetAllGrantsAsync(string)
Gets all grants for a given subject ID.
Task<IEnumerable<Grant>> GetAllGrantsAsync(string subjectId)
Parameters
subjectId
stringThe subject identifier.
Returns
RemoveAllGrantsAsync(string, string?, string?)
Removes all grants for a given subject id, and optionally client id and session id combination.
Task RemoveAllGrantsAsync(string subjectId, string? clientId = null, string? sessionId = null)
Parameters
subjectId
stringThe subject identifier.
clientId
stringThe client identifier (optional).
sessionId
stringThe session id (optional).