Class AuthorizationProps

Assembly: redb.Identity.Core.dll

PROPS Props for OAuth 2.0 authorization (grant / consent record).
Base fields: key = userId (subject), date_create, date_complete = expiry.

[RedbScheme("identity.authorization")]
public class AuthorizationProps

Inheritance

Object→AuthorizationProps

Properties

ApplicationObjectId

FK → ApplicationProps object id.

public long ApplicationObjectId { get; set; }

Properties

Extensible properties bag.

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

Scopes

Granted scopes: ["openid", "profile", "email"].

public string[]? Scopes { get; set; }

Status

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

public string? Status { get; set; }

Type

"permanent" or "ad-hoc".

public string? Type { get; set; }