Interface IDpopReplayStore

Assembly: redb.Identity.Core.dll

Z4 (RFC 9449 §11.1): DPoP proof jti replay-prevention store.
Implementations MUST atomically reserve a (jkt, jti) pair so that a
concurrent replay attempt sees the prior reservation and is rejected.

public interface IDpopReplayStore

Methods

TryReserveAsync(string, string, TimeSpan, CancellationToken)

Attempts to reserve the given jti bound to the proof's

Task<bool> TryReserveAsync(string jkt, string jti, TimeSpan ttl, CancellationToken ct = default)