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
Show all
redb.Identity.Client
Classes
| ApiException | Thrown by Identity client methods when the server returns a non-success HTTP status. |
| IdentityClient | |
| IdentityClientOptions | Configuration for redb.Identity.Client typed HttpClient SDK. |
| ProblemDetails | RFC 7807 problem details (incl. ASP.NET ValidationProblemDetails.errors). |
| ServiceCollectionExtensions | DI extensions for registering and the optional |
Interfaces
| IIdentityClient | Single facade for Identity HTTP API (admin / account / token / scim). |
redb.Identity.Client.Auth
Classes
| BearerTokenHandler | that adds Authorization: Bearer <token> |
| ClientCredentialsAccessTokenProvider | implementation using OAuth2 client_credentials grant. |
Interfaces
| IAccessTokenProvider | Resolves a bearer access token for outgoing Identity API calls. |
redb.Identity.Client.Backchannel
Classes
| BackchannelIdentityClient | Default implementation. Owns a typed |
| BackchannelIdentityClientOptions | Configuration for the service-to-service backchannel identity client |
| BackchannelServiceCollectionExtensions | DI extensions for the W6-0 backchannel client. Registers |
Interfaces
| IBackchannelIdentityClient | Narrow service-to-service client for the W6-0 backchannel revoked-sids API. |
redb.Identity.Contracts
Classes
| IdentityVerdict | Reads the identity core's verdict out of an answer. |
Enums
| IdentityVerdictKind | What the identity core decided about a request, said once in a form no transport owns. |
redb.Identity.Contracts.Applications
redb.Identity.Contracts.Audit
Classes
| AuditQueryItem | A single audit row in . |
| AuditQueryRequest | H9 (v1.0 DoD): Audit log query request for GET /api/v1/identity/audit. |
| AuditQueryResponse | Paged result of . |
redb.Identity.Contracts.ClaimDefinitions
Classes
| ClaimDefinitionResponse | S2 — admin read DTO for a claim definition. See |
| CreateClaimDefinitionRequest | S2 — admin create DTO. The (ClaimName, Scope, ApplicationId) triplet is |
| UpdateClaimDefinitionRequest | S2 — admin update DTO. Null fields leave the existing stored value |
redb.Identity.Contracts.ClaimMappers
Classes
| AssignClaimScopeRequest | H5: Assign a Client Scope to an Application. |
| ClaimMapperResponse | |
| ClaimScopeAssignmentResponse | |
| ClaimScopeDeletedResponse | The answer of deleting a claim scope, with what the deletion removed along with it. |
| ClaimScopeResponse | |
| CreateClaimMapperRequest | H5: Create a new identity.claim_mapper PROPS row. Scope is determined by |
| CreateClaimScopeRequest | H5: Create a reusable Client Scope (named bundle of claim mappers). |
| UpdateClaimMapperRequest | H5: Update an existing claim mapper. Owner / scope is immutable post-creation. |
| UpdateClaimScopeRequest |
redb.Identity.Contracts.Common
Classes
| ErrorResponse | The error document a management or account route answers with when it refuses a request: |
| IdempotencyRecordPrunePreview | The answer of the idempotency record cleanup asked as a dry run: how many expired records a run woul... |
| IdempotencyRecordPruneResult | The answer of the cleanup of expired idempotency records: {"prunedIdempotencyRecords":3}. |
| ListRequest | Pagination parameters for list operations. |
| MfaOtpPruneResult | The answer of the MFA one-time-code cleanup: {"prunedMfaOtp":3}. |
| OneTimeSecretAttribute | Marks a result member that carries a value the caller is shown once: a generated secret, a bearer to... |
| PagedResult<T> | Paginated result wrapper. |
| RevokedSidsPruneResult | The answer of the revoked session id (sid) cleanup: {"prunedRevokedSids":3}. |
| SecretWithheldReplayResponse | The answer to a repeated request with an Idempotency-Key whose first answer carried a one-time |
| SuccessResponse | The answer of a management operation that has nothing to return but its outcome, such as a deletion: |
| WebAuthnChallengePruneResult | The answer of the cleanup of consumed WebAuthn challenges: {"prunedWebAuthnChallenges":3}. |
redb.Identity.Contracts.Configuration
Classes
| FederationProviderConfig | Configuration for a single federated authentication provider (OIDC, etc.). |
| IdentityCookieOptions | C9 — cookie security defaults shared by every cookie Identity emits. |
| IdentityFeatureFlags | Cross-module feature toggles for the Identity product surface. |
| IdentityScopes | Central registry of OAuth scopes recognised by the management API. |
| IdentitySharedOptions | Cross-module shared options for the Identity product surface. |
| OAuth2EndpointOverrides | Per-provider override of the well-known OAuth2 endpoints used by |
Enums
| CookieSameSiteMode | SameSite cookie modes per RFC 6265bis. None requires Secure. |
redb.Identity.Contracts.Consents
Classes
| ConsentRequiredResponse | Machine-readable counterpart of the consent_required 302 redirect from |
| ConsentResponse | Consent grant record returned by the management API. |
| GrantMyConsentRequest | Self-service consent grant request for POST /me/consents. The caller's |
| MeRevokeConsentRequest | Self-service consent revoke request for DELETE /me/consents/{clientId}. |
| MyConsentGrantedResponse | The answer of granting a consent through the self-service API. |
| MyConsentRevokedResponse | The answer of revoking a consent through the self-service API: {"revoked":1}. |
redb.Identity.Contracts.Cors
Classes
| CorsCheckRequest | Phase 9d cross-context request DTO for direct-vm://identity-cors-check. |
| CorsCheckResponse | Reply DTO for direct-vm://identity-cors-check. |
Interfaces
| IRegisteredClientOriginRegistry | In-memory registry of allowed CORS origins derived from registered OAuth clients' |
redb.Identity.Contracts.Endpoints
Classes
| BootstrapAdminRequest | B1 — request DTO for POST /internal/bootstrap-admin |
| BootstrapAdminResponse | B1 — reply DTO for POST /internal/bootstrap-admin. |
| ValidatePostLogoutRedirectRequest | Phase 9d cross-context request DTO for direct-vm://identity-validate-post-logout. |
| ValidatePostLogoutRedirectResponse | Reply DTO for direct-vm://identity-validate-post-logout. |
redb.Identity.Contracts.Events
Classes
| IdentityEvent | Base identity event — all events carry these fields. |
redb.Identity.Contracts.Federation
Classes
| CreateFederationProviderRequest | |
| FederatedIdentityResponse | H8 (DoD §4 gap (b)): one entry returned by GET /me/federated-identities. |
| FederatedIdentityUnlinkedResponse | The answer of unlinking an external identity from the caller's account. |
| FederationProviderResponse | H8 (DoD §4 gap (e)): admin-API DTO for an PROPS-stored federation provider config. |
| LinkFederatedIdentityChallengeResponse | H8: response from POST /me/federated-identities/link-challenge. |
| LinkFederatedIdentityRequest | H8 (DoD §4 gap (b)): self-service request to start a "link this provider to my |
| PublicFederationProviderDescriptor | Public projection of a federation provider safe for unauthenticated callers (login |
| UpdateFederationProviderRequest |
redb.Identity.Contracts.Groups
Classes
| AddMemberRequest | |
| CreateGroupRequest | |
| GroupChangedResponse | The answer of a group update or deletion: {"success":true,"groupId":42}. |
| GroupMemberAddedResponse | The answer of adding a user to a group, with the id of the new membership. |
| GroupMemberChangedResponse | The answer of changing a member's role in a group. |
| GroupMemberRemovedResponse | The answer of removing a user from a group. |
| GroupMembershipCheckResponse | The answer of GET groups/{id}/members/{userId}/check. |
| GroupMovedResponse | The answer of moving a group under another parent. |
| GroupResponse | A group as the management API answers it. The members are declared in the order they are written. |
| GroupTreeNodeResponse | A group with its subtree: the answer of GET groups/{id}/tree. |
| MemberResponse | |
| MoveGroupRequest | |
| UpdateGroupRequest | |
| UpdateMemberRequest |
redb.Identity.Contracts.Mfa
Classes
| MfaConfirmedResponse | The answer of confirming an MFA enrollment: the recovery codes, shown this once. |
| MfaDisabledResponse | The answer of disabling an MFA method. |
| MfaMethodsFromStateRequest | Phase 9d cross-context request DTO for direct-vm://identity-mfa-methods-from-state. |
| MfaMethodsFromStateResponse | Reply DTO for direct-vm://identity-mfa-methods-from-state. |
| MfaRecoveryCodesResponse | The answer of regenerating the recovery codes: the new codes, shown this once. |
| MfaSetupResponse | The answer of starting an MFA enrollment. It carries what the user needs to finish it, shown this on... |
| MfaStatusResponse | The MFA state of a user, answered by the management MFA status operation. |
| WebAuthnCredentialList | The caller's registered WebAuthn credentials. |
| WebAuthnCredentialResponse | One registered WebAuthn credential. |
| WebAuthnDeletedResponse | A deleted WebAuthn credential. |
| WebAuthnRegisteredResponse | A completed WebAuthn registration. |
| WebAuthnRegistrationOptionsResponse | The start of a WebAuthn registration: the creation options for the browser and the setup token. |
| WebAuthnRenamedResponse | A renamed WebAuthn credential. |
| WebAuthnStatusResponse | The WebAuthn state of the caller, answered by the self-service WebAuthn status operation. |
Interfaces
| IMfaStateInspector | Minimal read-only surface over the encrypted MFA challenge state for transport facades |
redb.Identity.Contracts.Module
Classes
| InitRoute | Deliberately empty Tsak module. This package exists for its companion, not its code: |
redb.Identity.Contracts.Registration
Classes
| DynamicRegistrationRequest | RFC 7591 §2 Client Metadata for Dynamic Client Registration. |
| DynamicRegistrationResponse | RFC 7591 §3.2.1 Client Information Response for Dynamic Client Registration. |
redb.Identity.Contracts.Roles
Classes
| CreateRoleRequest | |
| RoleAssignmentResponse | B.3 — a single assignment row, surfaces both directions: |
| RoleResponse | |
| RoleScopeResponse | One attached scope on a role's permission tab. |
| UpdateRoleRequest | Null fields preserve the existing value (PATCH semantics). Name + |
redb.Identity.Contracts.Routes
Classes
| IdentityAuditCategories | Category constants stored in the identity_audit_log.category column. |
| IdentityAuditEventIds | H9 (v1.0 DoD): Centralized audit event catalog. |
| IdentityEndpoints | All direct-vm:// endpoint URIs and RouteIds for the Identity Server. |
| IdentityReservedInboundHeaders | Exchange header names that carry internal, server-derived state and must never arrive from a |
redb.Identity.Contracts.Routes.IdentityEndpoints
Classes
| IdentityEndpoints.RouteIds |
redb.Identity.Contracts.Scim
Classes
| ScimAddress | SCIM Address (RFC 7643 §4.1.2). |
| ScimAuthenticationScheme | |
| ScimBulkConfig | |
| ScimBulkOperation | Single bulk operation (RFC 7644 §3.7). |
| ScimBulkOperationResponse | Single bulk operation result (RFC 7644 §3.7). |
| ScimBulkRequest | SCIM 2.0 Bulk request (RFC 7644 §3.7). |
| ScimBulkResponse | SCIM 2.0 Bulk response (RFC 7644 §3.7). |
| ScimConstants | SCIM 2.0 constants (RFC 7643/7644). |
| ScimEnterpriseUser | SCIM 2.0 Enterprise User extension (RFC 7643 §4.3). |
| ScimError | SCIM 2.0 error response (RFC 7644 §3.12). |
| ScimFilterConfig | |
| ScimGroup | SCIM 2.0 Group resource (RFC 7643 §4.2). |
| ScimGroupRef | Group reference (read-only on User) per RFC 7643 §4.1.2. |
| ScimListResponse<T> | SCIM 2.0 ListResponse (RFC 7644 §3.4.2). |
| ScimManager | The manager complex attribute of the Enterprise User extension (RFC 7643 §4.3). |
| ScimMemberRef | Member reference (for groups) per RFC 7643 §4.2. |
| ScimMeta | SCIM 2.0 resource metadata (RFC 7643 §3.1). |
| ScimMultiValuedAttribute | Multi-valued attribute entry (emails, phoneNumbers, etc.) per RFC 7643 §2.4. |
| ScimName | SCIM Name component (RFC 7643 §4.1.1). |
| ScimPatchOperation | Single PATCH operation (RFC 7644 §3.5.2). |
| ScimPatchRequest | SCIM 2.0 PATCH request (RFC 7644 §3.5.2). |
| ScimResourceType | SCIM 2.0 ResourceType (RFC 7643 §6). |
| ScimSchema | SCIM 2.0 Schema resource (RFC 7643 §7). |
| ScimSchemaAttribute | SCIM Schema attribute definition (RFC 7643 §7). |
| ScimSchemaDefinitions | Provides static SCIM 2.0 schema definitions for User and Group (RFC 7643 §7). |
| ScimSchemaExtension | A schema extension declared on a ResourceType (RFC 7643 §6). required says whether the |
| ScimServiceProviderConfig | SCIM 2.0 ServiceProviderConfig resource (RFC 7643 §5). |
| ScimSupported | |
| ScimUser | SCIM 2.0 User resource (RFC 7643 §4.1). |
redb.Identity.Contracts.Scopes
redb.Identity.Contracts.Serialization
Classes
| IdentityWireProfiles | Locked wire-format JSON profiles for redb.Identity transports |
redb.Identity.Contracts.Sessions
Classes
| RevokedSidEntry | One entry in the revoked-sids list returned to a polling Relying Party (RP). |
| RevokedSidsAddRequest | Request body for POST /api/internal/revoked-sids. |
| RevokedSidsSinceResponse | Response of GET /api/internal/revoked-sids/since?cursor=.... |
| SessionPage | A page of the active sessions of all users, answered by the admin-wide session list. |
| SessionPruneResult | The answer of the session cleanup: {"prunedSessions":4,"expiredActiveSessions":1}. |
| SessionResponse | Session record returned by the management API. |
| SessionRevokePreview | The answer of revoking all sessions of a user with dryRun: how many would be revoked and the ids of ... |
redb.Identity.Contracts.SigningKeys
Classes
| RotateSigningKeyRequest | Request shape for POST /signing-keys/rotate. |
| SigningKeyListResponse | Response shape for GET /signing-keys. |
| SigningKeyResponse | One row of the signing-key store as exposed by the admin /signing-keys list endpoint. |
| SigningKeyRetiredResponse | The answer of retiring a signing key: {"success":true,"kid":"..."}. |
redb.Identity.Contracts.Tokens
Classes
| IntrospectionResponse | |
| RevokedCountResponse | The answer of revoking all tokens of a subject: {"revokedCount":3}. |
| TokenInfoResponse | Administrative token info (for management endpoint, not OAuth flow). |
| TokenPrunePreview | The answer of a token prune asked as a dry run: what a prune would remove now, with nothing removed. |
| TokenPruneResult | The answer of a token prune: {"prunedTokens":12,"prunedAuthorizations":3}. Tokens past the retention |
| TokenRequest | |
| TokenResponse |
redb.Identity.Contracts.Users
Classes
| AddressDto | OIDC structured address claim (§5.1.1). |
| AdminResetPasswordRequest | Admin-side password reset for a user, bypassing the "old password" challenge |
| ChangeEmailConfirmRequest | N-4 (Session E, sub-step N4-7): request body for |
| ChangeEmailConfirmResponse | N-4 (Session E, sub-step N4-7): response for the confirm endpoint. |
| ChangeEmailRequestRequest | N-4 (Session E, sub-step N4-7): request body for |
| ChangeEmailRequestResponse | N-4 (Session E, sub-step N4-7): response for the request endpoint. Always |
| ChangePasswordRequest | |
| CreateUserRequest | |
| EmailVerifyConfirmRequest | N-4 (Session C, sub-step N4-6): request body for |
| EmailVerifyConfirmResponse | N-4 (Session C, sub-step N4-6): response for the confirm endpoint. |
| EmailVerifySendRequest | N-4 (Session C, sub-step N4-6): request body for |
| EmailVerifySendResponse | N-4 (Session C, sub-step N4-6): generic response for the send endpoint. Always |
| ExternalIdentityDto | DTO representing a federation identity link to an external provider. |
| ImpersonationStartedResponse | The answer of starting an impersonation: the user the administrator now acts as. |
| ImpersonationStoppedResponse | The answer of stopping an impersonation: {"stopped":true}. |
| MeChangePasswordRequest | Self-service password change request for PUT /me/password. |
| MeUpdateProfileRequest | Self-service profile update request for PUT /me. Caller identity is derived |
| PasswordForgotRequest | N-4 (Session C): request body for direct-vm://identity-password-forgot |
| PasswordForgotResponse | N-4 (Session C): generic response for the forgot endpoint. Always |
| PasswordResetRequest | N-4 (Session C): request body for direct-vm://identity-password-reset |
| PasswordResetResponse | N-4 (Session C): response for the reset endpoint. On success, is |
| RegisterAccountRequest | N-3 (sub-step N3-6/N3-7): request body for self-service account registration |
| RegisterAccountResponse | N-3: response for . The processor returns |
| UpdateUserRequest | |
| UserResponse |
redb.Identity.Contracts.Validation
Classes
| RequestValidator | Centralised DataAnnotations-driven request DTO validation. |
| ScimRequestValidator | SCIM 2.0 request DTO validation. Returns a populated |
| ValidationErrorResponse | The refusal of a request that fails its declared validation rules: the first rule broken as the |
redb.Identity.Contracts.Webhooks
Classes
| CreateWebhookSubscriptionRequest | |
| UpdateWebhookSubscriptionRequest | Null fields preserve existing values (PATCH semantics). HMAC secret is |
| WebhookDeliveryItem | One row of the delivery outbox. |
| WebhookDeliveryPage | A page of the delivery outbox (webhooks and audit targets), newest first, without payloads. |
| WebhookSecretRotatedResponse | The answer of rotating a webhook secret when the subscription could not be read back right after the |
| WebhookSubscriptionResponse |
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. |
redb.Identity.DataProtection
Classes
| DataProtectionKeyImportProps | When the DataProtection key ring moved from the file system into redb (the first start of 4.4 on thi... |
| DataProtectionKeyProps | PROPS Props for ASP.NET DataProtection XML key storage. |
| DefaultFileKeyRing | Where ASP.NET Core DataProtection keeps its key ring when no repository is configured, for the |
| RedbDataProtectionBuilderExtensions | DI helpers for persisting ASP.NET DataProtection XML keys in redb PROPS storage. |
| RedbXmlRepository | ASP.NET DataProtection XML key repository backed by redb PROPS storage. |
redb.Identity.Grpc
Classes
| GrpcFacadeRouteBuilder | gRPC facade for redb.Identity. Maps gRPC method addresses to direct-vm://identity-* routes. |
| GrpcManagementRouteBuilder | F6 — the management surface over gRPC. One method address per controller action, on the management |
| GrpcTransportOptions | gRPC listener settings. |
| IdentityGrpcTransportOptions | Configuration for the Identity gRPC transport facade. Mirrors |
| InitRoute | Tsak module entry point for the gRPC facade. Discovered by convention: public class InitRoute with a |
redb.Identity.Grpc.Management.V1
Classes
| IdentityManagementV1Reflection | Holder for reflection information generated from identity.management.v1.proto |
| ManagementRequest | |
| ManagementResponse |
redb.Identity.Grpc.V1
Classes
| DiscoveryRequest | |
| DiscoveryResponse | |
| IdentityV1Reflection | Holder for reflection information generated from identity.v1.proto |
| IntrospectRequest | |
| IntrospectResponse | |
| JwksRequest | |
| JwksResponse | |
| RevokeRequest | |
| RevokeResponse | RFC 7009 §2.2: a successful revocation returns no content. Kept as a message because gRPC has no voi... |
| TokenRequest | |
| TokenResponse | |
| UserInfoRequest | |
| UserInfoResponse |
redb.Identity.Http
Classes
| HttpFacadeRouteBuilder | HTTP facade for redb.Identity. Maps standard OIDC HTTP paths to |
| HttpTransportOptions | HTTP transport settings (ports, CORS). |
| IdentityHttpBranding | UI branding for built-in identity pages. |
| IdentityHttpPaths | HTTP route paths for interactive pages. |
| IdentityScimBulkOptions | SCIM bulk-endpoint transport limits. |
| IdentityTransportOptions | Configuration options for Identity HTTP transport facade. |
| InitRoute | Tsak module entry point. Builds the HTTP-facade child container and registers |
redb.Identity.Http.Controllers
Classes
| ScimBulkController | SCIM 2.0 Bulk endpoint (RFC 7644 §3.7). |
| ScimControllerBase | SCIM controller base with a Forward() that correctly returns null for deletions |
| ScimDiscoveryController | SCIM 2.0 discovery endpoints (RFC 7644 §4). |
| ScimGroupsController | SCIM 2.0 Groups endpoint (RFC 7644 §3.2–3.5). |
| ScimUsersController | SCIM 2.0 Users endpoint (RFC 7644 §3.2–3.5). |
redb.Identity.Http.Cors
Classes
| BrokeredRegisteredClientOriginRegistry | Phase 9e. implementation backed by |
| RegisteredClientOriginResolver | HTTP-side adapter that exposes as a |
redb.Identity.Http.Endpoints
Classes
| BrokeredPostLogoutRedirectValidator | Phase 9e. Validates an unauthenticated post_logout_redirect_uri by issuing a |
redb.Identity.Http.Mfa
Classes
| BrokeredMfaStateInspector | Phase 9e. implementation backed by the cross-context |
redb.Identity.Http.Security
Classes
| ConsentTicket | Server-signed consent parameters. Every field is set by the authorization server, never |
| SessionTicket | Decrypted session ticket data. |
| SessionTicketService | Encrypts/decrypts session tickets using ASP.NET DataProtection. |
Structs
| ReauthMarker | Decrypted re-authentication marker: the session that was active when re-auth was forced |
redb.Identity.Ldap
Classes
| LdapAttributeMapper | Maps LDAP entry attributes to fields |
| LdapConnectionSettings | Shared LDAP connection settings. Base class for both |
| LdapExternalUserProvider | LDAP external user provider. Implements search+bind authentication: |
| LdapGroupMapper | Syncs LDAP group memberships (memberOf attribute) to Identity groups. |
| LdapGroupMapperOptions | Configuration for LDAP → Identity group sync. |
| LdapHealthCheck | Health check that probes each registered LDAP provider via an anonymous RootDSE search. |
| LdapProviderOptions | Configuration for LDAP external user provider. |
| LdapServiceExtensions | DI registration for LDAP external user provider and sync infrastructure. |
| LdapSyncHandler | Processes LDAP change events from the Watch consumer. |
| LdapSyncOptions | Configuration for the LDAP directory sync route (Watch consumer). |
| LdapSyncRouteBuilder | Route definition that watches an LDAP directory for changes and syncs |
Enums
| LdapGroupSyncStrategy | Group membership sync strategy. |
| LdapPreset | Known LDAP directory presets. |
| LdapSearchScopeOption | LDAP search scope. |
| UserAccountControlFlags | Active Directory userAccountControl bitmask flags. |
redb.Identity.Management
Classes
| ManagementErrorCodes | What a management controller's error document means, as a status code. |
redb.Identity.Management.Controllers
Classes
| AccountChangeEmailController | N-4 (Session E, N4-7): anonymous change-of-e-mail \u2014 confirm side. |
| AccountEmailVerifyController | N-4 (Session C, N4-6): anonymous e-mail-verification — confirm side. |
| AccountRegistrationController | N-3 (sub-step N3-7): anonymous self-service account-registration HTTP facade. |
| ApplicationsController | REST management API for OAuth 2.0 applications (clients). |
| AuditController | H9 (v1.0 DoD): REST admin API for the identity audit log. |
| ClaimDefinitionsController | S2 — admin CRUD for claim definitions |
| ClaimMappersController | H5 (v1.0 DoD §5): REST admin API for declarative claim mapping rules. |
| ClaimScopesController | H5 (v1.0 DoD §5): REST admin API for reusable Client Scopes (mapper bundles) |
| ConsentsController | |
| FederationProvidersController | H8 (v1.0 DoD §4 gap (e)): REST admin API for PROPS-stored federation providers. |
| GroupsController | REST management API for groups/organizations. |
| IdentityControllerBase | Base controller for Identity management API. Forwards operations to |
| ImpersonationController | N7-3 — admin impersonation overlay. Forwards to direct-vm://identity-manage-impersonation. |
| MeChangeEmailController | N-4 (Session E, N4-7): self-service strict change-of-e-mail \u2014 initiate side. |
| MeConsentsController | H3 (v1.0 DoD §6): self-service consent management at |
| MeController | H3 (v1.0 DoD §6): self-service profile endpoint at |
| MeEmailVerifyController | N-4 (Session C, N4-6): self-service e-mail verification — initiate side. |
| MeFederatedIdentitiesController | H8 (DoD §4 gap (b)/(d)): self-service federated identity management at |
| MeMfaController | H3 (v1.0 DoD §6): self-service MFA management at |
| MePasswordController | H3 (v1.0 DoD §6): self-service password change at |
| MeSessionsController | H3-SSO (v1.0 DoD §6 scoped-subset): self-service session API at |
| MeWebAuthnController | MFA-3: self-service WebAuthn (FIDO2 / Passkey) management at |
| MfaConfirmRequest | |
| MfaController | REST management API for MFA configuration. |
| MfaEmailConfirmRequest | Confirm e-mail setup: the code from the e-mail, the MfaState and the SetupToken that the |
| MfaOtpConfirmRequest | Confirm SMS/Email setup. Caller must supply both the user-entered Code and the |
| MfaOtpSetupRequest | SMS / Email setup request: caller supplies destination (phone or email). |
| MfaSetupRequest | |
| MfaUserIdRequest | |
| PasswordRecoveryController | N-4 (Session C): anonymous password-recovery HTTP facade. |
| RevokedSidsController | W6-0: Backchannel revoked-sids list. Consumed by Relying Parties (incl. our own |
| RolesController | B.3 — REST admin API for the Roles registry. |
| ScopesController | REST management API for OAuth 2.0 scopes. |
| SessionsController | |
| SigningKeysController | Admin signing-key lifecycle endpoint. Forwards to |
| StartImpersonationRequest | Optional body for POST /admin/impersonate/start/{userId}. |
| TokensController | REST management API for token administration: listing, revoking, pruning. |
| UsersController | REST management API for user accounts. |
| WebhooksController | W1 — REST admin API for outbound webhook subscriptions. |
redb.Identity.Resource.Dpop
Classes
| DpopResourceTokenValidator | Z4 P2.3 (RFC 9449 §7): Resource Server side validator for DPoP-bound access tokens. |
Structs
| DpopResourceValidationResult | Result of a Resource-Server DPoP-bound token validation. |
redb.Identity.Soap
Classes
| IdentitySoapTransportOptions | Configuration for the Identity WS-Trust facade. Mirrors the HTTP and gRPC transport options in shape |
| InitRoute | Tsak module entry point for the WS-Trust facade. Discovered by convention: public class InitRoute wi... |
| SoapFacadeRouteBuilder | WS-Trust facade for redb.Identity. Maps Issue, Validate, Cancel and |
| SoapTransportOptions | WS-Trust listener settings. |
redb.Identity.Web.Auth
Classes
| BackchannelLoginResult | Outcome of . |
| BackchannelOidcClient | BFF-side OIDC client that drives the entire authorization-code + PKCE flow against |
| BackchannelOidcOptions | Options for the BFF-side backchannel OIDC client. The browser interacts only with |
| ConsentChallengeStateProtector | Persists in a signed cookie via DataProtection. |
| ConsentInFlightState | In-flight state carried across the BFF-native consent round-trip. |
| DeviceVerifyResult | Outcome of . |
| HttpContextAccessTokenProvider | Resolves the OIDC access_token from the current cookie-authenticated session and |
| ImpersonationOverlay | N7-3 — BFF-side state for an admin impersonation overlay ("view-as" mode). |
| ImpersonationStateProtector | Reads / writes the impersonation overlay cookie. Cookie lives at most 1 hour and is |
| MfaChallengeStateProtector | Persists in a signed cookie via DataProtection. |
| MfaInFlightState | Encapsulates the in-flight authorization state that needs to survive across an |
| SecurityHeadersMiddleware | Adds production-grade security response headers to every response served by the BFF. |
| SecurityHeadersOptions | Response-side security headers configuration. |
redb.Identity.Web.Bootstrap
Classes
| BootstrapAdminSeeder | Once-per-cluster startup task that calls Identity's /internal/bootstrap-admin |
redb.Identity.Web.Components
redb.Identity.Web.Components.Layout
Classes
| IdentitySidebar | |
| IdentityTopBar | |
| MainLayout |
redb.Identity.Web.Components.Pages
redb.Identity.Web.Components.Pages.Admin
Classes
redb.Identity.Web.Components.Pages.Admin.ApplicationDetailTabs
redb.Identity.Web.Components.Pages.Admin.UserDetailTabs
redb.Identity.Web.Components.Pages.Me
redb.Identity.Web.Configuration
Classes
| BackchannelClientOptions | W6-0 — service-account creds used by RevokedSidsPollHostedService. |
| BootstrapOptions | Bootstrap-admin seeder config bound from Bootstrap section. |
| IdentityWebLinksOptions | N8-3 / N8-4 (BFF UX): operator-controlled UI links rendered in the global footer. |
| IdentityWebOptions | Strong-typed OIDC + API config bound from Identity section. |
| RevokedSidsClientOptions | W6-0 — poll-interval config for the revoked-sids cache. |
redb.Identity.Web.Endpoints
Classes
| AuthEndpoints | Browser-facing authentication endpoints. The browser only ever talks to the BFF; |
| BackchannelLogoutEndpoint | OIDC Back-Channel Logout sink (RFC 8417 / OpenID Connect Back-Channel Logout 1.0). |
| ImpersonationEndpoints | N7-3 — BFF endpoints for admin impersonation overlay. |
redb.Identity.Web.Services
Classes
| RevokedSidsCache | Thread-safe in-memory implementation of . Entries |
| RevokedSidsPollHostedService | W6-0 — periodically polls the Identity host's |
| ToastService | |
| UndoPrompt | One in-flight undo prompt — message, expected duration, and the |
| UndoToastService | Optimistic-mutation orchestrator. Replaces "Are you sure?" confirm dialogs |
Interfaces
| IRevokedSidsCache | W6-0 — local cache of backchannel-revoked OIDC sessions, sourced from the cluster-wide |