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
Show all
redb.Identity.Core
Classes
| RedbIdentityServiceExtensions |
redb.Identity.Core.ChangeEmail
Classes
| RedbChangeEmailTokenStore | N-4 (Session E, sub-step N4-7): redb-backed |
Interfaces
| IChangeEmailTokenStore | N-4 (Session E, sub-step N4-7): server-side store for single-use |
Structs
| ChangeEmailIssueResult | Result of . |
| ChangeEmailVerifyResult | Result of . |
redb.Identity.Core.Configuration
Classes
| AdminScopeEntitlementOptions | Role-driven entitlement for administrative scopes. |
| Argon2idHashOptions | Argon2id parameters. Defaults match OWASP 2023 guidance for password storage: |
| AuditTarget | A single audit target — any redb.Route producer URI (sql:, kafka:, es:, rabbitmq:, log:, etc.). |
| BackchannelLogoutOptions | Which addresses a client's backchannel_logout_uri (OIDC Back-Channel Logout 1.0) may point at. The s... |
| BcryptHashOptions | BCrypt parameters. Defaults match current redb.Core.Security.BcryptPasswordHasher. |
| BootstrapOptions | B1 — emergency local-admin bootstrap: a one-shot internal endpoint |
| ChangeEmailOptions | N-4 (Session E, sub-step N4-7): tunables for the verify-then-commit change-of-e-mail |
| ClientKeysOptions | Governs how the server fetches a client's JWKS from its jwks_uri |
| DataProtectionCertificateOptions | X.509 certificate selector for the DataProtection key-ring encryptor. |
| DataProtectionOptions | C10 — DataProtection at-rest hardening. |
| DeliveryOptions | Delivery of events to webhook subscribers and to the external audit targets through the outbox table |
| DpopOptions | Z4 (RFC 9449): Demonstrating Proof-of-Possession at the Application Layer. |
| DpopReplayStoreOptions | Replay-store configuration for DPoP proof jti de-duplication. |
| EmailVerificationOptions | N-4 (Session C, sub-step N4-6): tunables for the e-mail-verification flow |
| FederationStateOptions | C6 — hardening for the encrypted federation state blob and the |
| IdempotencyOptions | E2 — RFC-style Idempotency-Key support for admin/SCIM mutation endpoints. |
| IdentityAuditOptions | Configuration for the identity audit subsystem. |
| IdentityValidationOptions | Server-side input-length limits used by Identity validation helpers. |
| IdentityWebAuthnOptions | MFA-3 (WebAuthn / FIDO2 / Passkeys): Relying-Party configuration. |
| JarOptions | JAR (RFC 9101) — JWT-Secured Authorization Request. Applies only when |
| PasswordHashingOptions | C12 — password hashing configuration. |
| PasswordPolicyOptions | H10 — server-side password policy applied by management, self-service and SCIM |
| PasswordRecoveryOptions | N-4 (Session C): tunables for the password-recovery flow |
| RateLimitOptions | C1 — Configuration for per-IP / per-(IP+username) rate limiting that sits in front of |
| RedbIdentityOptions | Configuration options for redb.Identity. |
| RegistrationOptions | N-3 (sub-step N3-7): tunables + feature gate for the self-service account |
| ReverseProxyOptions | C2 — Configuration for the trusted-reverse-proxy whitelist consulted by |
| SeedAdminOptions | Options for the default-admin password seeder that ensures the well-known |
| SeedBackchannelClientOptions | Options for the W6-0 backchannel service-account seeder. Ensures a confidential |
| SeedWebClientOptions | Options for the default OIDC-client seeder that ensures the canonical |
| SmtpOptions | N-4 (Session C): SMTP transport configuration consumed by the e-mail dispatch route |
Enums
| JarEnforcementMode | How strictly a client's declared request_object_signing_alg is enforced once |
| MintingKeySource | Which key source signs and encrypts new tokens when both configured credentials |
| PasswordHashAlgorithm | Enumeration of supported primary password-hashing algorithms. |
redb.Identity.Core.EmailVerification
Classes
| RedbEmailVerificationTokenStore | N-4 (Session C, sub-step N4-6): redb-backed |
Interfaces
| IEmailVerificationTokenStore | N-4 (Session C, sub-step N4-6): server-side e-mail-verification token store. Mirror of |
Structs
| EmailVerificationIssueResult | Result of . |
| EmailVerificationVerifyResult | Result of . |
redb.Identity.Core.Events
Classes
| DeliveryBacklog | The backlog of the delivery outbox (pending rows, age of the oldest), read from the database at most |
| IdentityEventStore | The flat SQL of the event pipeline: the audit row and the delivery outbox |
| OutboxDelivery | One outbox row as the management API shows it. The payload is not part of it. |
| OutboxEntry | One outbox row to write. |
| OutboxRow | One due outbox row, as the worker reads it. |
| OutboxStats | The backlog of the outbox. |
| WebhookSubscriptionCache | The enabled webhook subscriptions, kept in memory for Delivery.SubscriptionCache. Every event |
redb.Identity.Core.Exceptions
Classes
| MfaDeliveryException | Thrown by implementations when OTP delivery fails. |
| WebAuthnException | MFA-3: thrown by when a WebAuthn ceremony fails |
redb.Identity.Core.Health
Classes
| IdentityHealthContributor | Per-module health probe for redb.Identity. Surfaces the module under |
redb.Identity.Core.Hosting
Classes
| IdentitySchemaRegistry | Authoritative list of all PROPS schemas managed by redb.Identity. |
redb.Identity.Core.Keys
Classes
| PropsSigningKeyStore | PROPS-backed implementation of . Singleton; resolves |
| SigningKeyMaterial | In-memory representation of a signing / encryption key loaded from PROPS storage |
Interfaces
| ISigningKeyStore | Persistent store for OpenIddict signing / encryption keys backed by redb PROPS |
redb.Identity.Core.Metrics
Classes
| IdentityMetrics | F3: OpenTelemetry-compatible -based metrics for Identity. Exposed as a |
redb.Identity.Core.Mfa
Classes
| PropsServerSideOtpStore | B3: PROPS-backed . Singleton; resolves |
| PropsWebAuthnChallengeStore | MFA-3: PROPS-backed mirroring |
Interfaces
| IServerSideOtpStore | B3: server-side OTP store — issues and consumes SMS/Email one-time codes so that the |
| IWebAuthnChallengeStore | MFA-3: server-side single-use marker for consumed WebAuthn challenges. |
Structs
| OtpIssueResult | Result of . |
| OtpVerifyResult | Result of . |
Enums
| WebAuthnConsumeResult | Result of . |
redb.Identity.Core.Models
Classes
| AddressClaim | OIDC structured address claim (§5.1.1). |
| ApplicationProps | PROPS Props for OAuth 2.0 / OpenID Connect client application. |
| AuthorizationProps | PROPS Props for OAuth 2.0 authorization (grant / consent record). |
| ChangeEmailTokenProps | N-4 (Session E, sub-step N4-7): server-side material backing a single-use |
| ClaimDefinitionProps | S2 — declarative claim schema. Defines a custom claim that may appear |
| ClaimMapperProps | H5 (v1.0 DoD §5): PROPS Props for a declarative claim-mapping rule emitted into OAuth/OIDC tokens. |
| ClaimScopeAssignmentProps | H5 (v1.0 DoD §5): Many-to-many link between an Application and a . |
| ClaimScopeProps | H5 (v1.0 DoD §5): Reusable named bundle of rules. |
| DpopConsumedJtiProps | Z4 (RFC 9449 §11.1): persisted marker for a consumed DPoP proof jti. |
| EmailVerificationTokenProps | N-4 (Session C, sub-step N4-6): server-side material backing a single-use |
| ExternalIdentity | Federation identity linking a local user to an external provider (OIDC, LDAP, SAML). |
| FederatedIdentityProps | H8 (v1.0 DoD §4): one federated identity link between a local user and an external IdP. |
| FederationProviderProps | H8 (v1.0 DoD §4 gap (e)): PROPS-stored configuration for a single federated authentication |
| GroupMemberProps | Flat membership link: key = userId, parent_id = groupId. |
| GroupProps | PROPS entity for organizational groups with tree hierarchy. |
| GroupRoleAssignmentProps | B.3 — group → role assignment. Every member of the group inherits the |
| IdempotencyRecordProps | E2 — PROPS record for cached responses of Idempotency-Key-bearing requests. |
| IdentitySystemFlagProps | B1 — System-wide one-shot flag stored as a bare RedbObject<IdentitySystemFlagProps> |
| MfaArchivedRecoveryCodeBatch | A snapshot of recovery-code hashes that were active before being retired |
| MfaChallengeResult | Result of . |
| MfaOtpProps | B3: server-side OTP material for SMS / Email MFA methods. |
| MfaProps | PROPS entity storing MFA configuration and secrets for a user. |
| MfaSetupResult | Result of Services.IMfaMethod.SetupAsync: contains data the user needs |
| MfaSetupTokenPayload | Encrypted payload of an MFA setup token (B5). Bound to a single user + setup attempt |
| MfaState | Temporary state between password verification and MFA code entry. |
| MfaStatusResult | MFA status for a user, returned by management API. |
| PasswordHistoryProps | H10 — per-user password history entry. Stores a verifier-hash (Argon2id by default, |
| PasswordResetTokenProps | N-4 (Session C): server-side material backing a single-use password-reset token. |
| RevokedSidProps | W6-0: One revocation entry in the backchannel revoked-sids list. |
| RoleProps | B.3 — first-class role entity. Roles exist independently of groups and |
| RoleScopeAssignmentProps | B.3 (permission picker) — role → OAuth scope binding. One row per |
| ScopeProps | PROPS Props for OAuth 2.0 scope definition. |
| SessionProps | PROPS entity tracking user login sessions. |
| SigningKeyProps | PROPS Props for persistent OpenIddict signing / encryption keys (A3). |
| TokenProps | PROPS Props for OAuth 2.0 / OIDC token (access, refresh, id, authorization_code). |
| UserProps | OIDC profile extension for a user stored in _users. |
| UserRoleAssignmentProps | B.3 — direct user → role assignment. One row per (user, role) pair. |
| WebAuthnConsumedChallengeProps | MFA-3: server-side single-use marker for consumed WebAuthn challenges. |
| WebAuthnCredential | WebAuthn (FIDO2) credential descriptor stored per user in . |
| WebhookSubscriptionProps | W1 — outbound webhook subscription. One row per HTTP endpoint that |
redb.Identity.Core.Module
Classes
| IdentityRouteContextExtensions | Bridges Identity-owned services (OpenIddict managers, deletion service, options snapshot, …) |
| InitRoute | Tsak module entry point for redb.Identity.Core.Module. |
| RedbIdentityHost | redb.Identity running in a host of its own: one route context with the Identity core module and the |
| RedbIdentityHostServiceCollectionExtensions | Registration for a process that runs redb.Identity in a host of its own, without a Tsak worker. |
redb.Identity.Core.OpenIddict
Classes
| OidcClaimsRequest | The parsed OIDC claims request parameter (OpenID Connect Core 1.0 §5.5) — the RP's |
| OidcClaimsRequestEntry | A single entry of the OIDC claims request parameter (OpenID Connect Core 1.0 §5.5.1): |
| RedbRouteOpenIddictServerBuilder | Exposes the configuration methods for the redb.Route OpenIddict Server host adapter. |
| RedbRouteOpenIddictServerBuilderExtensions | Extension methods for configuring the redb.Route OpenIddict Server host adapter. |
| RedbRouteOpenIddictServerHandler | Transport-agnostic entry point for processing OAuth/OIDC requests |
| RedbRouteOpenIddictServerOptions | Configuration options for the redb.Route OpenIddict Server host adapter. |
redb.Identity.Core.PasswordReset
Classes
| RedbPasswordResetTokenStore | N-4 (Session C): redb-backed . Singleton; resolves |
Interfaces
| IPasswordResetTokenStore | N-4 (Session C): server-side password-reset token store — issues and atomically consumes |
Structs
| PasswordResetIssueResult | Result of . |
| PasswordResetVerifyResult | Result of . |
redb.Identity.Core.Routes
Classes
| IdentityCoreRouteBuilder | Core route builder for the redb Identity Server. |
redb.Identity.Core.Security
Classes
| Argon2idPasswordHasher | C12: Argon2id password hasher — OWASP 2023+ recommended primary algorithm. |
| DefaultPasswordPolicyValidator | H10 — default implementation backed by |
| IdentitySecurityLog | E5 — security-event logging channel. All audit/security-sensitive events |
| MultiFormatPasswordHasher | C12: dispatching password hasher that produces new hashes with the configured primary |
| PasswordValidationResult | Aggregated outcome of a password policy check. is true |
| PropsPasswordHistoryStore | H10 Phase 2 — PROPS-backed that mirrors the |
| RegisteredClientOriginRegistry | Default implementation backed by |
Interfaces
| IBreachedPasswordChecker | Phase 5 — pluggable breached-password checker (e.g. HIBP k-anonymity, local |
| IPasswordHistoryStore | Phase 2 — pluggable per-user password-history store. Implemented in a follow-up |
| IPasswordPolicyValidator | H10 — central server-side gate for every password mutation (admin Create/Change, |
redb.Identity.Core.Serialization
Classes
| IdentityCodecProfiles | Route-framework-bound view over the locked Identity wire profiles defined in |
redb.Identity.Core.Services
Classes
| BackchannelLogoutDispatcher | Sends OIDC Back-Channel Logout 1.0 notifications to relying parties after a successful |
| CapturedEmail | Snapshot of a single e-mail captured by . |
| ClaimMappersResolver | H5 (v1.0 DoD §5): Resolves declarative rules and applies |
| ClaimSchemaValidator | S2 — shared validator for global . |
| ConsentService | Manages explicit user consent grants. Consent is stored as an OpenIddict Authorization |
| DpopProofValidator | Z4 (RFC 9449): validates a DPoP proof JWT and reserves its jti |
| ExternalAuthResult | Result of an external authentication attempt. |
| FederatedIdentityLink | H8: read-model record for a single federated identity link, returned to callers of |
| FederationChallenge | Result of : |
| FederationProviderSecretProtector | H8 (DoD §4 gap (e)): encrypts/decrypts federation provider client secrets at rest |
| FederationState | Data encrypted in the federation state parameter. |
| FederationStateProtector | Encrypts/decrypts federation state parameters using ASP.NET DataProtection. |
| GitHubFederatedAuthProvider | H8 (DoD §4 gap (a) "GitHub-style"): GitHub OAuth2 federated auth provider. |
| GroupClaimsResolver | Enriches a with group/role claims |
| GroupNames | The unique key of a group name. A group name is unique across the whole group tree, compared |
| GroupService | Manages hierarchical groups (tree via parent_id) and flat memberships (GroupMemberProps). |
| HmacDpopNonceProvider | Stateless HMAC-SHA256 nonce provider. Each nonce encodes a Unix-second timestamp and |
| IdentityEmailTemplates | N-4 (Session C): stable template identifiers consumed by |
| IdentityPrincipalBuilder | Builds a for an authenticated user. |
| InlineEmailTemplateRegistry | N-4 (Session C): default shipping inline |
| InMemoryEmailNotificationChannel | N-4 (Session C): test / preview implementation of |
| InMemoryFederationStateNonceStore | Single-process implementation of . |
| LoginResult | Result of a login attempt. |
| LoginService | Verifies user credentials via external providers (if any) then falls back |
| LogoutConfirmationProtector | The proof that the End-User, not a page they happened to visit, asked to sign out. |
| LogoutTokenBuilder | Builds OIDC Back-Channel Logout 1.0 logout_token JWTs (RFC: OIDC Back-Channel |
| MemoryDpopReplayStore | In-process implementation of . Backed by a |
| MfaSecretProtector | Encrypts/decrypts TOTP secrets at rest using ASP.NET DataProtection. |
| MfaService | Orchestrates MFA operations: delegates to implementations, |
| MfaSetupInitiation | Pure setup data returned by . |
| MfaSetupTokenProtector | Encrypts/decrypts an MFA setup token (B5). The setup token carries the candidate |
| MfaStateProtector | Encrypts/decrypts temporary MFA state using ASP.NET DataProtection with TTL enforcement. |
| OidcFederatedAuthProvider | Generic OIDC Relying Party — works with any IdP that exposes |
| RecoveryCodePepperProvider | Provides the server-wide pepper applied during MFA recovery-code hashing |
| RedbDpopReplayStore | PROPS-backed mirroring |
| RenderedEmailTemplate | N-4 (Session C): rendered e-mail payload returned by an |
| RoleService | B.3 — backing implementation for the Roles registry. All shapes go |
| SeedAdminPasswordHostedService | Startup seeder that ensures the well-known admin user from the base |
| SeedBackchannelClientHostedService | W6-0 — sister of . Ensures the |
| SeedWebClientHostedService | Startup seeder that ensures the canonical Web Console OIDC client (default |
| SessionService | Manages user login sessions. Sessions track when a user logged into an application. |
| SmtpEmailNotificationChannel | N-4 (Session C): production backed by the |
| WebAuthnCredentialSummary | MFA-3: client-facing summary of a registered WebAuthn credential. |
| WebhookSubscriptionService | W1 — backing store for outbound webhook subscriptions. CRUD + filter |
Interfaces
| IClientKeyResolver | Resolves the public signing keys of a client application — the keys used to verify |
| IDpopNonceProvider | Z4 P2 (RFC 9449 §8): provider of server-issued DPoP nonces. Implementations may be |
| IDpopReplayStore | Z4 (RFC 9449 §11.1): DPoP proof jti replay-prevention store. |
| IEmailNotificationChannel | N-4 (Session C): SPI for delivering identity-system transactional e-mails |
| IEmailTemplateRegistry | N-4 (Session C): renders identity-system e-mail templates by |
| IExternalUserProvider | SPI for pluggable external authentication providers (LDAP, SAML, OIDC federation, etc.). |
| IFederatedAuthProvider | SPI for redirect-based federated authentication (OIDC, SAML, etc.). |
| IFederationStateNonceStore | One-time-use nonce store for federation state blobs (C6). |
| IGroupService | Groups/RBAC service — manages hierarchical groups and flat memberships. |
| IMfaDeliveryChannel | SPI for delivering MFA codes via external channels (SMS, Email). |
| IMfaMethod | SPI for MFA verification methods (TOTP, SMS, WebAuthn, etc.). |
| IRateLimitStore | C1 — Sliding-window counter store used by the rate-limit processors. Implementations |
| IUserProfileService | Unified user profile and claims service. |
| IWebAuthnMfaMethod | MFA-3: typed SPI for the WebAuthn (FIDO2 / Passkey) flow. Standalone — does NOT |
Structs
| DpopValidationResult | Result of a DPoP proof validation. |
| RateLimitDecision | C1 — Outcome of a rate-limit check / increment. |
Enums
| FederationStateValidationFailure | Result of validating a federation state blob. Distinguishes the failure mode so |
redb.Identity.Core.Services.ConsentService
Classes
| ConsentService.ConsentInfo |
redb.Identity.Core.Services.IGroupService
redb.Identity.Core.Services.SessionService
Classes
| SessionService.SessionInfo | Session info DTO for API responses. |