Interface IReplayCache
- Namespace
- Duende.IdentityServer.Services
- Assembly
- Duende.IdentityServer.dll
Interface for replay cache implementations
public interface IReplayCache
Methods
AddAsync(string, string, DateTimeOffset)
Adds a handle to the cache
Task AddAsync(string purpose, string handle, DateTimeOffset expiration)
Parameters
purpose
stringhandle
stringexpiration
DateTimeOffset
Returns
ExistsAsync(string, string)
Checks if a cached handle exists
Task<bool> ExistsAsync(string purpose, string handle)