Class IdempotencyOptions

Assembly: redb.Identity.Core.dll

E2 — RFC-style Idempotency-Key support for admin/SCIM mutation endpoints.

When enabled, repeated requests carrying the same Idempotency-Key header (within
) replay the cached response body and HTTP status code instead of
re-executing the underlying mutation. Storage backend: redb PROPS
(identity.idempotency_record) with TTL cleanup via
— no Redis dependency.


Token issuance is auto-idempotent through the one-time code grant (see C11), so
the protocol routes do not consult this cache.

public sealed class IdempotencyOptions

Inheritance

Object→IdempotencyOptions

Properties

Enabled

Master switch for idempotency caching. When false, the

public bool Enabled { get; set; }

MaxKeyLength

Maximum accepted length of the inbound Idempotency-Key header value. Keys

public int MaxKeyLength { get; set; }

Ttl

How long a cached response is replayed for the same key. After this window the

public TimeSpan Ttl { get; set; }