Class RevokedSidsAddRequest

Assembly: redb.Identity.Contracts.dll

Request body for POST /api/internal/revoked-sids.

Caller MUST provide OR (or both). Sub-only marks every
session of that subject as revoked — used for "logout everywhere" / admin RevokeAll.

public sealed class RevokedSidsAddRequest

Inheritance

Object→RevokedSidsAddRequest

Properties

ClientId

Optional client_id scope. Null = applies to all clients.

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

ExpiresAt

When the entry expires (RPs use this as TTL for their local cache). Server enforces a

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

Sid

OIDC sid claim of the revoked session.

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

Sub

OIDC sub claim. When set without , revokes all sessions of subject.

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