Interface IRevokedSidsCache

Assembly: redb.Identity.Web.dll

W6-0 — local cache of backchannel-revoked OIDC sessions, sourced from the cluster-wide
/api/v1/identity/revoked-sids PROPS store via periodic polling
(). Replaces the previous single-instance
whitelist (InMemorySidIndex) so back-channel logout works across multiple
Web BFF replicas.

public interface IRevokedSidsCache

Properties

Cursor

Cursor of the most recent entry observed; null until the first successful poll.

DateTimeOffset? Cursor { get; }

Methods

Apply(IEnumerable<RevokedSidEntry>)

Merge a batch of revocations into the cache (idempotent).

void Apply(IEnumerable<RevokedSidEntry> entries)

IsRevoked(string?, string?)

True iff the supplied sid or sub is

bool IsRevoked(string? sid, string? sub)

SetCursor(DateTimeOffset)

Update the cursor for the next poll.

void SetCursor(DateTimeOffset cursor)