RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Identity.Core.Models Show all

redb.Identity.Core.Models

Classes

C AddressClaim OIDC structured address claim (§5.1.1).
C ApplicationProps PROPS Props for OAuth 2.0 / OpenID Connect client application.
C AuthorizationProps PROPS Props for OAuth 2.0 authorization (grant / consent record).
C ChangeEmailTokenProps N-4 (Session E, sub-step N4-7): server-side material backing a single-use
C ClaimDefinitionProps S2 — declarative claim schema. Defines a custom claim that may appear
C ClaimMapperProps H5 (v1.0 DoD §5): PROPS Props for a declarative claim-mapping rule emitted into OAuth/OIDC tokens.
C ClaimScopeAssignmentProps H5 (v1.0 DoD §5): Many-to-many link between an Application and a .
C ClaimScopeProps H5 (v1.0 DoD §5): Reusable named bundle of rules.
C DpopConsumedJtiProps Z4 (RFC 9449 §11.1): persisted marker for a consumed DPoP proof jti.
C EmailVerificationTokenProps N-4 (Session C, sub-step N4-6): server-side material backing a single-use
C ExternalIdentity Federation identity linking a local user to an external provider (OIDC, LDAP, SAML).
C FederatedIdentityProps H8 (v1.0 DoD §4): one federated identity link between a local user and an external IdP.
C FederationProviderProps H8 (v1.0 DoD §4 gap (e)): PROPS-stored configuration for a single federated authentication
C GroupMemberProps Flat membership link: key = userId, parent_id = groupId.
C GroupProps PROPS entity for organizational groups with tree hierarchy.
C GroupRoleAssignmentProps B.3 — group → role assignment. Every member of the group inherits the
C IdempotencyRecordProps E2 — PROPS record for cached responses of Idempotency-Key-bearing requests.
C IdentitySystemFlagProps B1 — System-wide one-shot flag stored as a bare RedbObject<IdentitySystemFlagProps>
C MfaArchivedRecoveryCodeBatch A snapshot of recovery-code hashes that were active before being retired
C MfaChallengeResult Result of .
C MfaOtpProps B3: server-side OTP material for SMS / Email MFA methods.
C MfaProps PROPS entity storing MFA configuration and secrets for a user.
C MfaSetupResult Result of Services.IMfaMethod.SetupAsync: contains data the user needs
C MfaSetupTokenPayload Encrypted payload of an MFA setup token (B5). Bound to a single user + setup attempt
C MfaState Temporary state between password verification and MFA code entry.
C MfaStatusResult MFA status for a user, returned by management API.
C PasswordHistoryProps H10 — per-user password history entry. Stores a verifier-hash (Argon2id by default,
C PasswordResetTokenProps N-4 (Session C): server-side material backing a single-use password-reset token.
C RevokedSidProps W6-0: One revocation entry in the backchannel revoked-sids list.
C RoleProps B.3 — first-class role entity. Roles exist independently of groups and
C RoleScopeAssignmentProps B.3 (permission picker) — role → OAuth scope binding. One row per
C ScopeProps PROPS Props for OAuth 2.0 scope definition.
C SessionProps PROPS entity tracking user login sessions.
C SigningKeyProps PROPS Props for persistent OpenIddict signing / encryption keys (A3).
C TokenProps PROPS Props for OAuth 2.0 / OIDC token (access, refresh, id, authorization_code).
C UserProps OIDC profile extension for a user stored in _users.
C UserRoleAssignmentProps B.3 — direct user → role assignment. One row per (user, role) pair.
C WebAuthnConsumedChallengeProps MFA-3: server-side single-use marker for consumed WebAuthn challenges.
C WebAuthnCredential WebAuthn (FIDO2) credential descriptor stored per user in .
C WebhookSubscriptionProps W1 — outbound webhook subscription. One row per HTTP endpoint that