Class RevokedSidEntry

Assembly: redb.Identity.Contracts.dll

One entry in the revoked-sids list returned to a polling Relying Party (RP).

At least one of or is set:
only — single OIDC session was revoked. only — every session of that subject is revoked
(used for "logout everywhere" / admin RevokeAll).Both — explicit single-session revoke that also carries the subject for forensics.

RP-side cache MUST evict entries past .

public sealed class RevokedSidEntry

Inheritance

Object→RevokedSidEntry

Properties

ClientId

Optional OAuth client_id this revocation applies to. Null = applies to all clients.

[JsonPropertyName("clientId")]
public string? ClientId { get; set; }

ExpiresAt

UTC timestamp after which this entry can be evicted (typically max cookie lifetime).

[JsonPropertyName("expiresAt")]
public DateTimeOffset ExpiresAt { get; set; }

RevokedAt

UTC timestamp the entry was created. RPs use this as the polling cursor.

[JsonPropertyName("revokedAt")]
public DateTimeOffset RevokedAt { get; set; }

Sid

OIDC sid claim of the revoked session, when known.

[JsonPropertyName("sid")]
public string? Sid { get; set; }

Sub

OIDC sub claim — present for "revoke all sessions of subject" entries.

[JsonPropertyName("sub")]
public string? Sub { get; set; }