Class TokenProps

Assembly: redb.Identity.Core.dll

PROPS Props for OAuth 2.0 / OIDC token (access, refresh, id, authorization_code).
Base fields: key = userId (subject), date_create, date_complete = expiry, date_begin = redemption.

[RedbScheme("identity.token")]
public class TokenProps

Inheritance

Object→TokenProps

Properties

ActorSubject

Subject of the actor in a delegation token exchange (RFC 8693).

public string? ActorSubject { get; set; }

ApplicationObjectId

FK → ApplicationProps object id.

public long ApplicationObjectId { get; set; }

AuthorizationObjectId

FK → AuthorizationProps object id.

public long AuthorizationObjectId { get; set; }

Payload

Serialized token payload content.

public string? Payload { get; set; }

Properties

Extensible properties bag.

public Dictionary<string, string>? Properties { get; set; }

ReferenceId

Opaque reference id (for reference tokens) — unique per scheme via [RedbUnique]

public string? ReferenceId { get; set; }

Status

"valid", "revoked", "redeemed", or "inactive".

public string? Status { get; set; }

Type

Token type as OpenIddict writes it. From OpenIddict 7 a URI-style identifier

public string? Type { get; set; }