Class UserProps

Assembly: redb.Identity.Core.dll

OIDC profile extension for a user stored in _users.
Credentials (login, password), email, phone and status live in the relational
_users table. This PROPS extension stores OIDC-specific profile claims.
Linked via RedbObject.key = _users._id.

[RedbScheme("identity.user")]
public class UserProps

Inheritance

Object→UserProps

Properties

Address

Structured address claim (OIDC §5.1.1). Stored as nested PROPS object.

public AddressClaim? Address { get; set; }

Birthdate

Birthday as ISO 8601 YYYY-MM-DD (year alone is allowed). OIDC: birthdate.

public string? Birthdate { get; set; }

CostCenter

RFC 7643 §4.3 — costCenter.

public string? CostCenter { get; set; }

CustomClaims

Arbitrary key-value claims emitted into tokens. Keys become claim types, values become claim values.

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

Department

RFC 7643 §4.3 — department.

public string? Department { get; set; }

Division

RFC 7643 §4.3 — division.

public string? Division { get; set; }

EmailVerified

Whether the email has been verified. OIDC: email_verified.

public bool EmailVerified { get; set; }

EmployeeNumber

RFC 7643 §4.3 — employeeNumber.

public string? EmployeeNumber { get; set; }

ExternalIdentities

Federation identities keyed by provider ID (e.g. "google", "corp-ldap").

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

FamilyName

Family name (last name). OIDC: family_name.

public string? FamilyName { get; set; }

Gender

Gender. OIDC: gender ("female" / "male" / other values are allowed).

public string? Gender { get; set; }

GivenName

Given name (first name). OIDC: given_name.

public string? GivenName { get; set; }

HasUserPassword

H8 (v1.0 DoD §4 gap (d)): true iff the user has set their own password through any

public bool HasUserPassword { get; set; }

Locale

BCP 47 language tag, e.g. "ru-RU". OIDC: locale.

public string? Locale { get; set; }

ManagerId

RFC 7643 §4.3 — manager.value: the _users._id of this user's manager, as a

public string? ManagerId { get; set; }

MiddleName

Middle name. OIDC: middle_name.

public string? MiddleName { get; set; }

Nickname

Casual name the user prefers to be called (e.g. "Mike" for Michael). OIDC: nickname.

public string? Nickname { get; set; }

Organization

RFC 7643 §4.3 — organization.

public string? Organization { get; set; }

PasswordChangedAt

UTC timestamp of the last password change for this user. Updated by every successful

public DateTimeOffset? PasswordChangedAt { get; set; }

PhoneNumberVerified

Whether the phone number has been verified. OIDC: phone_number_verified.

public bool PhoneNumberVerified { get; set; }

Picture

URL of the user's profile picture. OIDC: picture.

public string? Picture { get; set; }

PreferredUsername

Shorthand name the RP may use to identify the user in its UI. Defaults to the

public string? PreferredUsername { get; set; }

Profile

URL of the user's profile page. OIDC: profile.

public string? Profile { get; set; }

ScimExternalId

SCIM externalId (RFC 7643 §3.1) — identifier assigned by the provisioning client. NOT related to federation.

public string? ScimExternalId { get; set; }

UpdatedAt

When the profile was last changed. Emitted as the OIDC updated_at claim

public DateTimeOffset? UpdatedAt { get; set; }

UserId

The owning user's _users._id — unique per scheme via [RedbUnique]

public long? UserId { get; set; }

Website

URL of the user's web page or blog. OIDC: website.

public string? Website { get; set; }

ZoneInfo

IANA time-zone name, e.g. "Europe/Moscow". OIDC: zoneinfo.

public string? ZoneInfo { get; set; }