Table of Contents

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

cache IDistributedCache

Methods

AddAsync(string, string, DateTimeOffset)

public Task AddAsync(string purpose, string handle, DateTimeOffset expiration)

Parameters

purpose string
handle string
expiration DateTimeOffset

Returns

Task

ExistsAsync(string, string)

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

Parameters

purpose string
handle string

Returns

Task<bool>