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
subjectIdstringThe 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
subjectIdstringThe subject identifier.
clientIdstringThe client identifier (optional).
sessionIdstringThe session id (optional).