Skip to main content

Abblix.Oidc.Server.Features.ReplayPrevention Namespace

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.ReplayPrevention Namespace

Classes
DistributedJwtReplayCacheDistributed cache implementation of IJwtReplayCache for JWT replay protection. Uses Microsoft.Extensions.Caching.Distributed.IDistributedCache to store JTIs, enabling multi-instance deployments.
Interfaces
IJwtReplayCacheTracks JWT IDs (jti claims) presented to the server, so a JWT-bearing flow can detect replay attempts. Both RFC 7523 §5.2 (JWT-bearer-grant assertion replay) and RFC 9449 §11.1 (DPoP proof replay) want this primitive; it is intentionally namespace-neutral so a single distributed-cache instance serves every consumer.