Class DpopReplayStoreOptions

Assembly: redb.Identity.Core.dll

Replay-store configuration for DPoP proof jti de-duplication.

SECURITY: the in-process Memory backend is single-instance only. In
multi-node deployments behind a load balancer the same DPoP proof can land on
different nodes, defeating replay protection. Switch to redis or
redb for any multi-instance setup.

public sealed class DpopReplayStoreOptions

Inheritance

Object→DpopReplayStoreOptions

Properties

Backend

Backend identifier — memory (default), redis, or redb.

public string Backend { get; set; }

MemorySweepInterval

Sweep interval for the in-memory backend (cleanup of expired entries).

public TimeSpan MemorySweepInterval { get; set; }

RedisConnectionString

Connection string for the Redis backend. Falls back to

public string? RedisConnectionString { get; set; }

RedisKeyPrefix

Key prefix for Redis entries. Default: identity:dpop:jti:.

public string RedisKeyPrefix { get; set; }