Table of Contents

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 string
handle string
expiration DateTimeOffset

Returns

Task

ExistsAsync(string, string)

Checks if a cached handle exists

Task<bool> ExistsAsync(string purpose, string handle)

Parameters

purpose string
handle string

Returns

Task<bool>