Class DefaultReplayCache
- Namespace
- Duende.IdentityServer.Services
- Assembly
- Duende.IdentityServer.dll
Default implementation of the replay cache using IDistributedCache
public class DefaultReplayCache : IReplayCache
- Inheritance
-
DefaultReplayCache
- Implements
- Inherited Members
Constructors
DefaultReplayCache(IDistributedCache)
ctor
public DefaultReplayCache(IDistributedCache cache)
Parameters
cacheIDistributedCache
Methods
AddAsync(string, string, DateTimeOffset)
public Task AddAsync(string purpose, string handle, DateTimeOffset expiration)
Parameters
purposestringhandlestringexpirationDateTimeOffset
Returns
ExistsAsync(string, string)
public Task<bool> ExistsAsync(string purpose, string handle)