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 Show all

redb.Identity.Client

Classes

C ApiException Thrown by Identity client methods when the server returns a non-success HTTP status.
C IdentityClient
C IdentityClientOptions Configuration for redb.Identity.Client typed HttpClient SDK.
C ProblemDetails RFC 7807 problem details (incl. ASP.NET ValidationProblemDetails.errors).
C ServiceCollectionExtensions DI extensions for registering and the optional

Interfaces

I IIdentityClient Single facade for Identity HTTP API (admin / account / token / scim).

redb.Identity.Client.Auth

Classes

C BearerTokenHandler that adds Authorization: Bearer <token>
C ClientCredentialsAccessTokenProvider implementation using OAuth2 client_credentials grant.

Interfaces

I IAccessTokenProvider Resolves a bearer access token for outgoing Identity API calls.

redb.Identity.Client.Backchannel

Classes

C BackchannelIdentityClient Default implementation. Owns a typed
C BackchannelIdentityClientOptions Configuration for the service-to-service backchannel identity client
C BackchannelServiceCollectionExtensions DI extensions for the W6-0 backchannel client. Registers

Interfaces

I IBackchannelIdentityClient Narrow service-to-service client for the W6-0 backchannel revoked-sids API.

redb.Identity.Contracts

Classes

C IdentityVerdict Reads the identity core's verdict out of an answer.

Enums

E 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

C AuditQueryItem A single audit row in .
C AuditQueryRequest H9 (v1.0 DoD): Audit log query request for GET /api/v1/identity/audit.
C AuditQueryResponse Paged result of .

redb.Identity.Contracts.ClaimDefinitions

Classes

C ClaimDefinitionResponse S2 — admin read DTO for a claim definition. See
C CreateClaimDefinitionRequest S2 — admin create DTO. The (ClaimName, Scope, ApplicationId) triplet is
C UpdateClaimDefinitionRequest S2 — admin update DTO. Null fields leave the existing stored value

redb.Identity.Contracts.ClaimMappers

Classes

C AssignClaimScopeRequest H5: Assign a Client Scope to an Application.
C ClaimMapperResponse
C ClaimScopeAssignmentResponse
C ClaimScopeDeletedResponse The answer of deleting a claim scope, with what the deletion removed along with it.
C ClaimScopeResponse
C CreateClaimMapperRequest H5: Create a new identity.claim_mapper PROPS row. Scope is determined by
C CreateClaimScopeRequest H5: Create a reusable Client Scope (named bundle of claim mappers).
C UpdateClaimMapperRequest H5: Update an existing claim mapper. Owner / scope is immutable post-creation.
C UpdateClaimScopeRequest

redb.Identity.Contracts.Common

Classes

C ErrorResponse The error document a management or account route answers with when it refuses a request:
C IdempotencyRecordPrunePreview The answer of the idempotency record cleanup asked as a dry run: how many expired records a run woul...
C IdempotencyRecordPruneResult The answer of the cleanup of expired idempotency records: {"prunedIdempotencyRecords":3}.
C ListRequest Pagination parameters for list operations.
C MfaOtpPruneResult The answer of the MFA one-time-code cleanup: {"prunedMfaOtp":3}.
C OneTimeSecretAttribute Marks a result member that carries a value the caller is shown once: a generated secret, a bearer to...
C PagedResult<T> Paginated result wrapper.
C RevokedSidsPruneResult The answer of the revoked session id (sid) cleanup: {"prunedRevokedSids":3}.
C SecretWithheldReplayResponse The answer to a repeated request with an Idempotency-Key whose first answer carried a one-time
C SuccessResponse The answer of a management operation that has nothing to return but its outcome, such as a deletion:
C WebAuthnChallengePruneResult The answer of the cleanup of consumed WebAuthn challenges: {"prunedWebAuthnChallenges":3}.

redb.Identity.Contracts.Configuration

Classes

C FederationProviderConfig Configuration for a single federated authentication provider (OIDC, etc.).
C IdentityCookieOptions C9 — cookie security defaults shared by every cookie Identity emits.
C IdentityFeatureFlags Cross-module feature toggles for the Identity product surface.
C IdentityScopes Central registry of OAuth scopes recognised by the management API.
C IdentitySharedOptions Cross-module shared options for the Identity product surface.
C OAuth2EndpointOverrides Per-provider override of the well-known OAuth2 endpoints used by

Enums

E CookieSameSiteMode SameSite cookie modes per RFC 6265bis. None requires Secure.

redb.Identity.Contracts.Consents

Classes

C ConsentRequiredResponse Machine-readable counterpart of the consent_required 302 redirect from
C ConsentResponse Consent grant record returned by the management API.
C GrantMyConsentRequest Self-service consent grant request for POST /me/consents. The caller's
C MeRevokeConsentRequest Self-service consent revoke request for DELETE /me/consents/{clientId}.
C MyConsentGrantedResponse The answer of granting a consent through the self-service API.
C MyConsentRevokedResponse The answer of revoking a consent through the self-service API: {"revoked":1}.

redb.Identity.Contracts.Cors

Classes

C CorsCheckRequest Phase 9d cross-context request DTO for direct-vm://identity-cors-check.
C CorsCheckResponse Reply DTO for direct-vm://identity-cors-check.

Interfaces

I IRegisteredClientOriginRegistry In-memory registry of allowed CORS origins derived from registered OAuth clients'

redb.Identity.Contracts.Endpoints

Classes

C BootstrapAdminRequest B1 — request DTO for POST /internal/bootstrap-admin
C BootstrapAdminResponse B1 — reply DTO for POST /internal/bootstrap-admin.
C ValidatePostLogoutRedirectRequest Phase 9d cross-context request DTO for direct-vm://identity-validate-post-logout.
C ValidatePostLogoutRedirectResponse Reply DTO for direct-vm://identity-validate-post-logout.

redb.Identity.Contracts.Events

Classes

C IdentityEvent Base identity event — all events carry these fields.

redb.Identity.Contracts.Federation

Classes

C CreateFederationProviderRequest
C FederatedIdentityResponse H8 (DoD §4 gap (b)): one entry returned by GET /me/federated-identities.
C FederatedIdentityUnlinkedResponse The answer of unlinking an external identity from the caller's account.
C FederationProviderResponse H8 (DoD §4 gap (e)): admin-API DTO for an PROPS-stored federation provider config.
C LinkFederatedIdentityChallengeResponse H8: response from POST /me/federated-identities/link-challenge.
C LinkFederatedIdentityRequest H8 (DoD §4 gap (b)): self-service request to start a "link this provider to my
C PublicFederationProviderDescriptor Public projection of a federation provider safe for unauthenticated callers (login
C UpdateFederationProviderRequest

redb.Identity.Contracts.Groups

Classes

C AddMemberRequest
C CreateGroupRequest
C GroupChangedResponse The answer of a group update or deletion: {"success":true,"groupId":42}.
C GroupMemberAddedResponse The answer of adding a user to a group, with the id of the new membership.
C GroupMemberChangedResponse The answer of changing a member's role in a group.
C GroupMemberRemovedResponse The answer of removing a user from a group.
C GroupMembershipCheckResponse The answer of GET groups/{id}/members/{userId}/check.
C GroupMovedResponse The answer of moving a group under another parent.
C GroupResponse A group as the management API answers it. The members are declared in the order they are written.
C GroupTreeNodeResponse A group with its subtree: the answer of GET groups/{id}/tree.
C MemberResponse
C MoveGroupRequest
C UpdateGroupRequest
C UpdateMemberRequest

redb.Identity.Contracts.Mfa

Classes

C MfaConfirmedResponse The answer of confirming an MFA enrollment: the recovery codes, shown this once.
C MfaDisabledResponse The answer of disabling an MFA method.
C MfaMethodsFromStateRequest Phase 9d cross-context request DTO for direct-vm://identity-mfa-methods-from-state.
C MfaMethodsFromStateResponse Reply DTO for direct-vm://identity-mfa-methods-from-state.
C MfaRecoveryCodesResponse The answer of regenerating the recovery codes: the new codes, shown this once.
C MfaSetupResponse The answer of starting an MFA enrollment. It carries what the user needs to finish it, shown this on...
C MfaStatusResponse The MFA state of a user, answered by the management MFA status operation.
C WebAuthnCredentialList The caller's registered WebAuthn credentials.
C WebAuthnCredentialResponse One registered WebAuthn credential.
C WebAuthnDeletedResponse A deleted WebAuthn credential.
C WebAuthnRegisteredResponse A completed WebAuthn registration.
C WebAuthnRegistrationOptionsResponse The start of a WebAuthn registration: the creation options for the browser and the setup token.
C WebAuthnRenamedResponse A renamed WebAuthn credential.
C WebAuthnStatusResponse The WebAuthn state of the caller, answered by the self-service WebAuthn status operation.

Interfaces

I IMfaStateInspector Minimal read-only surface over the encrypted MFA challenge state for transport facades

redb.Identity.Contracts.Module

Classes

C InitRoute Deliberately empty Tsak module. This package exists for its companion, not its code:

redb.Identity.Contracts.Registration

Classes

C DynamicRegistrationRequest RFC 7591 §2 Client Metadata for Dynamic Client Registration.
C DynamicRegistrationResponse RFC 7591 §3.2.1 Client Information Response for Dynamic Client Registration.

redb.Identity.Contracts.Roles

Classes

C CreateRoleRequest
C RoleAssignmentResponse B.3 — a single assignment row, surfaces both directions:
C RoleResponse
C RoleScopeResponse One attached scope on a role's permission tab.
C UpdateRoleRequest Null fields preserve the existing value (PATCH semantics). Name +

redb.Identity.Contracts.Routes

Classes

C IdentityAuditCategories Category constants stored in the identity_audit_log.category column.
C IdentityAuditEventIds H9 (v1.0 DoD): Centralized audit event catalog.
C IdentityEndpoints All direct-vm:// endpoint URIs and RouteIds for the Identity Server.
C IdentityReservedInboundHeaders Exchange header names that carry internal, server-derived state and must never arrive from a

redb.Identity.Contracts.Routes.IdentityEndpoints

redb.Identity.Contracts.Scim

Classes

C ScimAddress SCIM Address (RFC 7643 §4.1.2).
C ScimAuthenticationScheme
C ScimBulkConfig
C ScimBulkOperation Single bulk operation (RFC 7644 §3.7).
C ScimBulkOperationResponse Single bulk operation result (RFC 7644 §3.7).
C ScimBulkRequest SCIM 2.0 Bulk request (RFC 7644 §3.7).
C ScimBulkResponse SCIM 2.0 Bulk response (RFC 7644 §3.7).
C ScimConstants SCIM 2.0 constants (RFC 7643/7644).
C ScimEnterpriseUser SCIM 2.0 Enterprise User extension (RFC 7643 §4.3).
C ScimError SCIM 2.0 error response (RFC 7644 §3.12).
C ScimFilterConfig
C ScimGroup SCIM 2.0 Group resource (RFC 7643 §4.2).
C ScimGroupRef Group reference (read-only on User) per RFC 7643 §4.1.2.
C ScimListResponse<T> SCIM 2.0 ListResponse (RFC 7644 §3.4.2).
C ScimManager The manager complex attribute of the Enterprise User extension (RFC 7643 §4.3).
C ScimMemberRef Member reference (for groups) per RFC 7643 §4.2.
C ScimMeta SCIM 2.0 resource metadata (RFC 7643 §3.1).
C ScimMultiValuedAttribute Multi-valued attribute entry (emails, phoneNumbers, etc.) per RFC 7643 §2.4.
C ScimName SCIM Name component (RFC 7643 §4.1.1).
C ScimPatchOperation Single PATCH operation (RFC 7644 §3.5.2).
C ScimPatchRequest SCIM 2.0 PATCH request (RFC 7644 §3.5.2).
C ScimResourceType SCIM 2.0 ResourceType (RFC 7643 §6).
C ScimSchema SCIM 2.0 Schema resource (RFC 7643 §7).
C ScimSchemaAttribute SCIM Schema attribute definition (RFC 7643 §7).
C ScimSchemaDefinitions Provides static SCIM 2.0 schema definitions for User and Group (RFC 7643 §7).
C ScimSchemaExtension A schema extension declared on a ResourceType (RFC 7643 §6). required says whether the
C ScimServiceProviderConfig SCIM 2.0 ServiceProviderConfig resource (RFC 7643 §5).
C ScimSupported
C ScimUser SCIM 2.0 User resource (RFC 7643 §4.1).

redb.Identity.Contracts.Scopes

redb.Identity.Contracts.Serialization

Classes

C IdentityWireProfiles Locked wire-format JSON profiles for redb.Identity transports

redb.Identity.Contracts.Sessions

Classes

C RevokedSidEntry One entry in the revoked-sids list returned to a polling Relying Party (RP).
C RevokedSidsAddRequest Request body for POST /api/internal/revoked-sids.
C RevokedSidsSinceResponse Response of GET /api/internal/revoked-sids/since?cursor=....
C SessionPage A page of the active sessions of all users, answered by the admin-wide session list.
C SessionPruneResult The answer of the session cleanup: {"prunedSessions":4,"expiredActiveSessions":1}.
C SessionResponse Session record returned by the management API.
C 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

C RotateSigningKeyRequest Request shape for POST /signing-keys/rotate.
C SigningKeyListResponse Response shape for GET /signing-keys.
C SigningKeyResponse One row of the signing-key store as exposed by the admin /signing-keys list endpoint.
C SigningKeyRetiredResponse The answer of retiring a signing key: {"success":true,"kid":"..."}.

redb.Identity.Contracts.Tokens

Classes

C IntrospectionResponse
C RevokedCountResponse The answer of revoking all tokens of a subject: {"revokedCount":3}.
C TokenInfoResponse Administrative token info (for management endpoint, not OAuth flow).
C TokenPrunePreview The answer of a token prune asked as a dry run: what a prune would remove now, with nothing removed.
C TokenPruneResult The answer of a token prune: {"prunedTokens":12,"prunedAuthorizations":3}. Tokens past the retention
C TokenRequest
C TokenResponse

redb.Identity.Contracts.Users

Classes

C AddressDto OIDC structured address claim (§5.1.1).
C AdminResetPasswordRequest Admin-side password reset for a user, bypassing the "old password" challenge
C ChangeEmailConfirmRequest N-4 (Session E, sub-step N4-7): request body for
C ChangeEmailConfirmResponse N-4 (Session E, sub-step N4-7): response for the confirm endpoint.
C ChangeEmailRequestRequest N-4 (Session E, sub-step N4-7): request body for
C ChangeEmailRequestResponse N-4 (Session E, sub-step N4-7): response for the request endpoint. Always
C ChangePasswordRequest
C CreateUserRequest
C EmailVerifyConfirmRequest N-4 (Session C, sub-step N4-6): request body for
C EmailVerifyConfirmResponse N-4 (Session C, sub-step N4-6): response for the confirm endpoint.
C EmailVerifySendRequest N-4 (Session C, sub-step N4-6): request body for
C EmailVerifySendResponse N-4 (Session C, sub-step N4-6): generic response for the send endpoint. Always
C ExternalIdentityDto DTO representing a federation identity link to an external provider.
C ImpersonationStartedResponse The answer of starting an impersonation: the user the administrator now acts as.
C ImpersonationStoppedResponse The answer of stopping an impersonation: {"stopped":true}.
C MeChangePasswordRequest Self-service password change request for PUT /me/password.
C MeUpdateProfileRequest Self-service profile update request for PUT /me. Caller identity is derived
C PasswordForgotRequest N-4 (Session C): request body for direct-vm://identity-password-forgot
C PasswordForgotResponse N-4 (Session C): generic response for the forgot endpoint. Always
C PasswordResetRequest N-4 (Session C): request body for direct-vm://identity-password-reset
C PasswordResetResponse N-4 (Session C): response for the reset endpoint. On success, is
C RegisterAccountRequest N-3 (sub-step N3-6/N3-7): request body for self-service account registration
C RegisterAccountResponse N-3: response for . The processor returns
C UpdateUserRequest
C UserResponse

redb.Identity.Contracts.Validation

Classes

C RequestValidator Centralised DataAnnotations-driven request DTO validation.
C ScimRequestValidator SCIM 2.0 request DTO validation. Returns a populated
C ValidationErrorResponse The refusal of a request that fails its declared validation rules: the first rule broken as the

redb.Identity.Contracts.Webhooks

Classes

C CreateWebhookSubscriptionRequest
C UpdateWebhookSubscriptionRequest Null fields preserve existing values (PATCH semantics). HMAC secret is
C WebhookDeliveryItem One row of the delivery outbox.
C WebhookDeliveryPage A page of the delivery outbox (webhooks and audit targets), newest first, without payloads.
C WebhookSecretRotatedResponse The answer of rotating a webhook secret when the subscription could not be read back right after the
C WebhookSubscriptionResponse

redb.Identity.Core

redb.Identity.Core.ChangeEmail

Classes

C RedbChangeEmailTokenStore N-4 (Session E, sub-step N4-7): redb-backed

Interfaces

I IChangeEmailTokenStore N-4 (Session E, sub-step N4-7): server-side store for single-use

Structs

S ChangeEmailIssueResult Result of .
S ChangeEmailVerifyResult Result of .

redb.Identity.Core.Configuration

Classes

C AdminScopeEntitlementOptions Role-driven entitlement for administrative scopes.
C Argon2idHashOptions Argon2id parameters. Defaults match OWASP 2023 guidance for password storage:
C AuditTarget A single audit target — any redb.Route producer URI (sql:, kafka:, es:, rabbitmq:, log:, etc.).
C BackchannelLogoutOptions Which addresses a client's backchannel_logout_uri (OIDC Back-Channel Logout 1.0) may point at. The s...
C BcryptHashOptions BCrypt parameters. Defaults match current redb.Core.Security.BcryptPasswordHasher.
C BootstrapOptions B1 — emergency local-admin bootstrap: a one-shot internal endpoint
C ChangeEmailOptions N-4 (Session E, sub-step N4-7): tunables for the verify-then-commit change-of-e-mail
C ClientKeysOptions Governs how the server fetches a client's JWKS from its jwks_uri
C DataProtectionCertificateOptions X.509 certificate selector for the DataProtection key-ring encryptor.
C DataProtectionOptions C10 — DataProtection at-rest hardening.
C DeliveryOptions Delivery of events to webhook subscribers and to the external audit targets through the outbox table
C DpopOptions Z4 (RFC 9449): Demonstrating Proof-of-Possession at the Application Layer.
C DpopReplayStoreOptions Replay-store configuration for DPoP proof jti de-duplication.
C EmailVerificationOptions N-4 (Session C, sub-step N4-6): tunables for the e-mail-verification flow
C FederationStateOptions C6 — hardening for the encrypted federation state blob and the
C IdempotencyOptions E2 — RFC-style Idempotency-Key support for admin/SCIM mutation endpoints.
C IdentityAuditOptions Configuration for the identity audit subsystem.
C IdentityValidationOptions Server-side input-length limits used by Identity validation helpers.
C IdentityWebAuthnOptions MFA-3 (WebAuthn / FIDO2 / Passkeys): Relying-Party configuration.
C JarOptions JAR (RFC 9101) — JWT-Secured Authorization Request. Applies only when
C PasswordHashingOptions C12 — password hashing configuration.
C PasswordPolicyOptions H10 — server-side password policy applied by management, self-service and SCIM
C PasswordRecoveryOptions N-4 (Session C): tunables for the password-recovery flow
C RateLimitOptions C1 — Configuration for per-IP / per-(IP+username) rate limiting that sits in front of
C RedbIdentityOptions Configuration options for redb.Identity.
C RegistrationOptions N-3 (sub-step N3-7): tunables + feature gate for the self-service account
C ReverseProxyOptions C2 — Configuration for the trusted-reverse-proxy whitelist consulted by
C SeedAdminOptions Options for the default-admin password seeder that ensures the well-known
C SeedBackchannelClientOptions Options for the W6-0 backchannel service-account seeder. Ensures a confidential
C SeedWebClientOptions Options for the default OIDC-client seeder that ensures the canonical
C SmtpOptions N-4 (Session C): SMTP transport configuration consumed by the e-mail dispatch route

Enums

E JarEnforcementMode How strictly a client's declared request_object_signing_alg is enforced once
E MintingKeySource Which key source signs and encrypts new tokens when both configured credentials
E PasswordHashAlgorithm Enumeration of supported primary password-hashing algorithms.

redb.Identity.Core.EmailVerification

Classes

C RedbEmailVerificationTokenStore N-4 (Session C, sub-step N4-6): redb-backed

Interfaces

I IEmailVerificationTokenStore N-4 (Session C, sub-step N4-6): server-side e-mail-verification token store. Mirror of

redb.Identity.Core.Events

Classes

C DeliveryBacklog The backlog of the delivery outbox (pending rows, age of the oldest), read from the database at most
C IdentityEventStore The flat SQL of the event pipeline: the audit row and the delivery outbox
C OutboxDelivery One outbox row as the management API shows it. The payload is not part of it.
C OutboxEntry One outbox row to write.
C OutboxRow One due outbox row, as the worker reads it.
C OutboxStats The backlog of the outbox.
C WebhookSubscriptionCache The enabled webhook subscriptions, kept in memory for Delivery.SubscriptionCache. Every event

redb.Identity.Core.Exceptions

Classes

C MfaDeliveryException Thrown by implementations when OTP delivery fails.
C WebAuthnException MFA-3: thrown by when a WebAuthn ceremony fails

redb.Identity.Core.Health

Classes

C IdentityHealthContributor Per-module health probe for redb.Identity. Surfaces the module under

redb.Identity.Core.Hosting

Classes

C IdentitySchemaRegistry Authoritative list of all PROPS schemas managed by redb.Identity.

redb.Identity.Core.Keys

Classes

C PropsSigningKeyStore PROPS-backed implementation of . Singleton; resolves
C SigningKeyMaterial In-memory representation of a signing / encryption key loaded from PROPS storage

Interfaces

I ISigningKeyStore Persistent store for OpenIddict signing / encryption keys backed by redb PROPS

redb.Identity.Core.Metrics

Classes

C IdentityMetrics F3: OpenTelemetry-compatible -based metrics for Identity. Exposed as a

redb.Identity.Core.Mfa

Classes

C PropsServerSideOtpStore B3: PROPS-backed . Singleton; resolves
C PropsWebAuthnChallengeStore MFA-3: PROPS-backed mirroring

Interfaces

I IServerSideOtpStore B3: server-side OTP store — issues and consumes SMS/Email one-time codes so that the
I IWebAuthnChallengeStore MFA-3: server-side single-use marker for consumed WebAuthn challenges.

Structs

S OtpIssueResult Result of .
S OtpVerifyResult Result of .

Enums

E WebAuthnConsumeResult Result of .

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

redb.Identity.Core.Module

Classes

C IdentityRouteContextExtensions Bridges Identity-owned services (OpenIddict managers, deletion service, options snapshot, …)
C InitRoute Tsak module entry point for redb.Identity.Core.Module.
C RedbIdentityHost redb.Identity running in a host of its own: one route context with the Identity core module and the
C RedbIdentityHostServiceCollectionExtensions Registration for a process that runs redb.Identity in a host of its own, without a Tsak worker.

redb.Identity.Core.OpenIddict

Classes

C OidcClaimsRequest The parsed OIDC claims request parameter (OpenID Connect Core 1.0 §5.5) — the RP's
C OidcClaimsRequestEntry A single entry of the OIDC claims request parameter (OpenID Connect Core 1.0 §5.5.1):
C RedbRouteOpenIddictServerBuilder Exposes the configuration methods for the redb.Route OpenIddict Server host adapter.
C RedbRouteOpenIddictServerBuilderExtensions Extension methods for configuring the redb.Route OpenIddict Server host adapter.
C RedbRouteOpenIddictServerHandler Transport-agnostic entry point for processing OAuth/OIDC requests
C RedbRouteOpenIddictServerOptions Configuration options for the redb.Route OpenIddict Server host adapter.

redb.Identity.Core.PasswordReset

Classes

C RedbPasswordResetTokenStore N-4 (Session C): redb-backed . Singleton; resolves

Interfaces

I IPasswordResetTokenStore N-4 (Session C): server-side password-reset token store — issues and atomically consumes

Structs

S PasswordResetIssueResult Result of .
S PasswordResetVerifyResult Result of .

redb.Identity.Core.Routes

Classes

C IdentityCoreRouteBuilder Core route builder for the redb Identity Server.

redb.Identity.Core.Security

Classes

C Argon2idPasswordHasher C12: Argon2id password hasher — OWASP 2023+ recommended primary algorithm.
C DefaultPasswordPolicyValidator H10 — default implementation backed by
C IdentitySecurityLog E5 — security-event logging channel. All audit/security-sensitive events
C MultiFormatPasswordHasher C12: dispatching password hasher that produces new hashes with the configured primary
C PasswordValidationResult Aggregated outcome of a password policy check. is true
C PropsPasswordHistoryStore H10 Phase 2 — PROPS-backed that mirrors the
C RegisteredClientOriginRegistry Default implementation backed by

Interfaces

I IBreachedPasswordChecker Phase 5 — pluggable breached-password checker (e.g. HIBP k-anonymity, local
I IPasswordHistoryStore Phase 2 — pluggable per-user password-history store. Implemented in a follow-up
I IPasswordPolicyValidator H10 — central server-side gate for every password mutation (admin Create/Change,

redb.Identity.Core.Serialization

Classes

C IdentityCodecProfiles Route-framework-bound view over the locked Identity wire profiles defined in

redb.Identity.Core.Services

Classes

C BackchannelLogoutDispatcher Sends OIDC Back-Channel Logout 1.0 notifications to relying parties after a successful
C CapturedEmail Snapshot of a single e-mail captured by .
C ClaimMappersResolver H5 (v1.0 DoD §5): Resolves declarative rules and applies
C ClaimSchemaValidator S2 — shared validator for global .
C ConsentService Manages explicit user consent grants. Consent is stored as an OpenIddict Authorization
C DpopProofValidator Z4 (RFC 9449): validates a DPoP proof JWT and reserves its jti
C ExternalAuthResult Result of an external authentication attempt.
C FederatedIdentityLink H8: read-model record for a single federated identity link, returned to callers of
C FederationChallenge Result of :
C FederationProviderSecretProtector H8 (DoD §4 gap (e)): encrypts/decrypts federation provider client secrets at rest
C FederationState Data encrypted in the federation state parameter.
C FederationStateProtector Encrypts/decrypts federation state parameters using ASP.NET DataProtection.
C GitHubFederatedAuthProvider H8 (DoD §4 gap (a) "GitHub-style"): GitHub OAuth2 federated auth provider.
C GroupClaimsResolver Enriches a with group/role claims
C GroupNames The unique key of a group name. A group name is unique across the whole group tree, compared
C GroupService Manages hierarchical groups (tree via parent_id) and flat memberships (GroupMemberProps).
C HmacDpopNonceProvider Stateless HMAC-SHA256 nonce provider. Each nonce encodes a Unix-second timestamp and
C IdentityEmailTemplates N-4 (Session C): stable template identifiers consumed by
C IdentityPrincipalBuilder Builds a for an authenticated user.
C InlineEmailTemplateRegistry N-4 (Session C): default shipping inline
C InMemoryEmailNotificationChannel N-4 (Session C): test / preview implementation of
C InMemoryFederationStateNonceStore Single-process implementation of .
C LoginResult Result of a login attempt.
C LoginService Verifies user credentials via external providers (if any) then falls back
C LogoutConfirmationProtector The proof that the End-User, not a page they happened to visit, asked to sign out.
C LogoutTokenBuilder Builds OIDC Back-Channel Logout 1.0 logout_token JWTs (RFC: OIDC Back-Channel
C MemoryDpopReplayStore In-process implementation of . Backed by a
C MfaSecretProtector Encrypts/decrypts TOTP secrets at rest using ASP.NET DataProtection.
C MfaService Orchestrates MFA operations: delegates to implementations,
C MfaSetupInitiation Pure setup data returned by .
C MfaSetupTokenProtector Encrypts/decrypts an MFA setup token (B5). The setup token carries the candidate
C MfaStateProtector Encrypts/decrypts temporary MFA state using ASP.NET DataProtection with TTL enforcement.
C OidcFederatedAuthProvider Generic OIDC Relying Party — works with any IdP that exposes
C RecoveryCodePepperProvider Provides the server-wide pepper applied during MFA recovery-code hashing
C RedbDpopReplayStore PROPS-backed mirroring
C RenderedEmailTemplate N-4 (Session C): rendered e-mail payload returned by an
C RoleService B.3 — backing implementation for the Roles registry. All shapes go
C SeedAdminPasswordHostedService Startup seeder that ensures the well-known admin user from the base
C SeedBackchannelClientHostedService W6-0 — sister of . Ensures the
C SeedWebClientHostedService Startup seeder that ensures the canonical Web Console OIDC client (default
C SessionService Manages user login sessions. Sessions track when a user logged into an application.
C SmtpEmailNotificationChannel N-4 (Session C): production backed by the
C WebAuthnCredentialSummary MFA-3: client-facing summary of a registered WebAuthn credential.
C WebhookSubscriptionService W1 — backing store for outbound webhook subscriptions. CRUD + filter

Interfaces

I IClientKeyResolver Resolves the public signing keys of a client application — the keys used to verify
I IDpopNonceProvider Z4 P2 (RFC 9449 §8): provider of server-issued DPoP nonces. Implementations may be
I IDpopReplayStore Z4 (RFC 9449 §11.1): DPoP proof jti replay-prevention store.
I IEmailNotificationChannel N-4 (Session C): SPI for delivering identity-system transactional e-mails
I IEmailTemplateRegistry N-4 (Session C): renders identity-system e-mail templates by
I IExternalUserProvider SPI for pluggable external authentication providers (LDAP, SAML, OIDC federation, etc.).
I IFederatedAuthProvider SPI for redirect-based federated authentication (OIDC, SAML, etc.).
I IFederationStateNonceStore One-time-use nonce store for federation state blobs (C6).
I IGroupService Groups/RBAC service — manages hierarchical groups and flat memberships.
I IMfaDeliveryChannel SPI for delivering MFA codes via external channels (SMS, Email).
I IMfaMethod SPI for MFA verification methods (TOTP, SMS, WebAuthn, etc.).
I IRateLimitStore C1 — Sliding-window counter store used by the rate-limit processors. Implementations
I IUserProfileService Unified user profile and claims service.
I IWebAuthnMfaMethod MFA-3: typed SPI for the WebAuthn (FIDO2 / Passkey) flow. Standalone — does NOT

Structs

S DpopValidationResult Result of a DPoP proof validation.
S RateLimitDecision C1 — Outcome of a rate-limit check / increment.

Enums

E FederationStateValidationFailure Result of validating a federation state blob. Distinguishes the failure mode so

redb.Identity.Core.Services.ConsentService

redb.Identity.Core.Services.IGroupService

redb.Identity.Core.Services.SessionService

Classes

C SessionService.SessionInfo Session info DTO for API responses.

redb.Identity.DataProtection

Classes

C DataProtectionKeyImportProps When the DataProtection key ring moved from the file system into redb (the first start of 4.4 on thi...
C DataProtectionKeyProps PROPS Props for ASP.NET DataProtection XML key storage.
C DefaultFileKeyRing Where ASP.NET Core DataProtection keeps its key ring when no repository is configured, for the
C RedbDataProtectionBuilderExtensions DI helpers for persisting ASP.NET DataProtection XML keys in redb PROPS storage.
C RedbXmlRepository ASP.NET DataProtection XML key repository backed by redb PROPS storage.

redb.Identity.Grpc

Classes

C GrpcFacadeRouteBuilder gRPC facade for redb.Identity. Maps gRPC method addresses to direct-vm://identity-* routes.
C GrpcManagementRouteBuilder F6 — the management surface over gRPC. One method address per controller action, on the management
C GrpcTransportOptions gRPC listener settings.
C IdentityGrpcTransportOptions Configuration for the Identity gRPC transport facade. Mirrors
C InitRoute Tsak module entry point for the gRPC facade. Discovered by convention: public class InitRoute with a

redb.Identity.Grpc.Management.V1

Classes

C IdentityManagementV1Reflection Holder for reflection information generated from identity.management.v1.proto
C ManagementRequest
C ManagementResponse

redb.Identity.Grpc.V1

Classes

C DiscoveryRequest
C DiscoveryResponse
C IdentityV1Reflection Holder for reflection information generated from identity.v1.proto
C IntrospectRequest
C IntrospectResponse
C JwksRequest
C JwksResponse
C RevokeRequest
C RevokeResponse RFC 7009 §2.2: a successful revocation returns no content. Kept as a message because gRPC has no voi...
C TokenRequest
C TokenResponse
C UserInfoRequest
C UserInfoResponse

redb.Identity.Http

Classes

C HttpFacadeRouteBuilder HTTP facade for redb.Identity. Maps standard OIDC HTTP paths to
C HttpTransportOptions HTTP transport settings (ports, CORS).
C IdentityHttpBranding UI branding for built-in identity pages.
C IdentityHttpPaths HTTP route paths for interactive pages.
C IdentityScimBulkOptions SCIM bulk-endpoint transport limits.
C IdentityTransportOptions Configuration options for Identity HTTP transport facade.
C InitRoute Tsak module entry point. Builds the HTTP-facade child container and registers

redb.Identity.Http.Controllers

Classes

C ScimBulkController SCIM 2.0 Bulk endpoint (RFC 7644 §3.7).
C ScimControllerBase SCIM controller base with a Forward() that correctly returns null for deletions
C ScimDiscoveryController SCIM 2.0 discovery endpoints (RFC 7644 §4).
C ScimGroupsController SCIM 2.0 Groups endpoint (RFC 7644 §3.2–3.5).
C ScimUsersController SCIM 2.0 Users endpoint (RFC 7644 §3.2–3.5).

redb.Identity.Http.Cors

Classes

C BrokeredRegisteredClientOriginRegistry Phase 9e. implementation backed by
C RegisteredClientOriginResolver HTTP-side adapter that exposes as a

redb.Identity.Http.Endpoints

Classes

C BrokeredPostLogoutRedirectValidator Phase 9e. Validates an unauthenticated post_logout_redirect_uri by issuing a

redb.Identity.Http.Mfa

Classes

C BrokeredMfaStateInspector Phase 9e. implementation backed by the cross-context

redb.Identity.Http.Security

Classes

C ConsentTicket Server-signed consent parameters. Every field is set by the authorization server, never
C SessionTicket Decrypted session ticket data.
C SessionTicketService Encrypts/decrypts session tickets using ASP.NET DataProtection.

Structs

S ReauthMarker Decrypted re-authentication marker: the session that was active when re-auth was forced

redb.Identity.Ldap

Classes

C LdapAttributeMapper Maps LDAP entry attributes to fields
C LdapConnectionSettings Shared LDAP connection settings. Base class for both
C LdapExternalUserProvider LDAP external user provider. Implements search+bind authentication:
C LdapGroupMapper Syncs LDAP group memberships (memberOf attribute) to Identity groups.
C LdapGroupMapperOptions Configuration for LDAP → Identity group sync.
C LdapHealthCheck Health check that probes each registered LDAP provider via an anonymous RootDSE search.
C LdapProviderOptions Configuration for LDAP external user provider.
C LdapServiceExtensions DI registration for LDAP external user provider and sync infrastructure.
C LdapSyncHandler Processes LDAP change events from the Watch consumer.
C LdapSyncOptions Configuration for the LDAP directory sync route (Watch consumer).
C LdapSyncRouteBuilder Route definition that watches an LDAP directory for changes and syncs

Enums

E LdapGroupSyncStrategy Group membership sync strategy.
E LdapPreset Known LDAP directory presets.
E LdapSearchScopeOption LDAP search scope.
E UserAccountControlFlags Active Directory userAccountControl bitmask flags.

redb.Identity.Management

Classes

C ManagementErrorCodes What a management controller's error document means, as a status code.

redb.Identity.Management.Controllers

Classes

C AccountChangeEmailController N-4 (Session E, N4-7): anonymous change-of-e-mail \u2014 confirm side.
C AccountEmailVerifyController N-4 (Session C, N4-6): anonymous e-mail-verification — confirm side.
C AccountRegistrationController N-3 (sub-step N3-7): anonymous self-service account-registration HTTP facade.
C ApplicationsController REST management API for OAuth 2.0 applications (clients).
C AuditController H9 (v1.0 DoD): REST admin API for the identity audit log.
C ClaimDefinitionsController S2 — admin CRUD for claim definitions
C ClaimMappersController H5 (v1.0 DoD §5): REST admin API for declarative claim mapping rules.
C ClaimScopesController H5 (v1.0 DoD §5): REST admin API for reusable Client Scopes (mapper bundles)
C ConsentsController
C FederationProvidersController H8 (v1.0 DoD §4 gap (e)): REST admin API for PROPS-stored federation providers.
C GroupsController REST management API for groups/organizations.
C IdentityControllerBase Base controller for Identity management API. Forwards operations to
C ImpersonationController N7-3 — admin impersonation overlay. Forwards to direct-vm://identity-manage-impersonation.
C MeChangeEmailController N-4 (Session E, N4-7): self-service strict change-of-e-mail \u2014 initiate side.
C MeConsentsController H3 (v1.0 DoD §6): self-service consent management at
C MeController H3 (v1.0 DoD §6): self-service profile endpoint at
C MeEmailVerifyController N-4 (Session C, N4-6): self-service e-mail verification — initiate side.
C MeFederatedIdentitiesController H8 (DoD §4 gap (b)/(d)): self-service federated identity management at
C MeMfaController H3 (v1.0 DoD §6): self-service MFA management at
C MePasswordController H3 (v1.0 DoD §6): self-service password change at
C MeSessionsController H3-SSO (v1.0 DoD §6 scoped-subset): self-service session API at
C MeWebAuthnController MFA-3: self-service WebAuthn (FIDO2 / Passkey) management at
C MfaConfirmRequest
C MfaController REST management API for MFA configuration.
C MfaEmailConfirmRequest Confirm e-mail setup: the code from the e-mail, the MfaState and the SetupToken that the
C MfaOtpConfirmRequest Confirm SMS/Email setup. Caller must supply both the user-entered Code and the
C MfaOtpSetupRequest SMS / Email setup request: caller supplies destination (phone or email).
C MfaSetupRequest
C MfaUserIdRequest
C PasswordRecoveryController N-4 (Session C): anonymous password-recovery HTTP facade.
C RevokedSidsController W6-0: Backchannel revoked-sids list. Consumed by Relying Parties (incl. our own
C RolesController B.3 — REST admin API for the Roles registry.
C ScopesController REST management API for OAuth 2.0 scopes.
C SessionsController
C SigningKeysController Admin signing-key lifecycle endpoint. Forwards to
C StartImpersonationRequest Optional body for POST /admin/impersonate/start/{userId}.
C TokensController REST management API for token administration: listing, revoking, pruning.
C UsersController REST management API for user accounts.
C WebhooksController W1 — REST admin API for outbound webhook subscriptions.

redb.Identity.Resource.Dpop

Classes

C DpopResourceTokenValidator Z4 P2.3 (RFC 9449 §7): Resource Server side validator for DPoP-bound access tokens.

Structs

S DpopResourceValidationResult Result of a Resource-Server DPoP-bound token validation.

redb.Identity.Soap

Classes

C IdentitySoapTransportOptions Configuration for the Identity WS-Trust facade. Mirrors the HTTP and gRPC transport options in shape
C InitRoute Tsak module entry point for the WS-Trust facade. Discovered by convention: public class InitRoute wi...
C SoapFacadeRouteBuilder WS-Trust facade for redb.Identity. Maps Issue, Validate, Cancel and
C SoapTransportOptions WS-Trust listener settings.

redb.Identity.Web.Auth

Classes

C BackchannelLoginResult Outcome of .
C BackchannelOidcClient BFF-side OIDC client that drives the entire authorization-code + PKCE flow against
C BackchannelOidcOptions Options for the BFF-side backchannel OIDC client. The browser interacts only with
C ConsentChallengeStateProtector Persists in a signed cookie via DataProtection.
C ConsentInFlightState In-flight state carried across the BFF-native consent round-trip.
C DeviceVerifyResult Outcome of .
C HttpContextAccessTokenProvider Resolves the OIDC access_token from the current cookie-authenticated session and
C ImpersonationOverlay N7-3 — BFF-side state for an admin impersonation overlay ("view-as" mode).
C ImpersonationStateProtector Reads / writes the impersonation overlay cookie. Cookie lives at most 1 hour and is
C MfaChallengeStateProtector Persists in a signed cookie via DataProtection.
C MfaInFlightState Encapsulates the in-flight authorization state that needs to survive across an
C SecurityHeadersMiddleware Adds production-grade security response headers to every response served by the BFF.
C SecurityHeadersOptions Response-side security headers configuration.

redb.Identity.Web.Bootstrap

Classes

C BootstrapAdminSeeder Once-per-cluster startup task that calls Identity's /internal/bootstrap-admin

redb.Identity.Web.Components

Classes

C _Imports
C App
C Routes

redb.Identity.Web.Components.Layout

redb.Identity.Web.Components.Pages

redb.Identity.Web.Components.Pages.Admin

redb.Identity.Web.Components.Pages.Admin.ApplicationDetailTabs

redb.Identity.Web.Components.Pages.Admin.UserDetailTabs

redb.Identity.Web.Components.Pages.Me

redb.Identity.Web.Components.Shared

redb.Identity.Web.Components.Shared.RdbChart

redb.Identity.Web.Components.Shared.UiTabBar

Classes

C UiTabBar.Tab Tab descriptor. Id is the URL-fragment-safe identifier (lowercase, hyphens

redb.Identity.Web.Configuration

Classes

C BackchannelClientOptions W6-0 — service-account creds used by RevokedSidsPollHostedService.
C BootstrapOptions Bootstrap-admin seeder config bound from Bootstrap section.
C IdentityWebLinksOptions N8-3 / N8-4 (BFF UX): operator-controlled UI links rendered in the global footer.
C IdentityWebOptions Strong-typed OIDC + API config bound from Identity section.
C RevokedSidsClientOptions W6-0 — poll-interval config for the revoked-sids cache.

redb.Identity.Web.Endpoints

Classes

C AuthEndpoints Browser-facing authentication endpoints. The browser only ever talks to the BFF;
C BackchannelLogoutEndpoint OIDC Back-Channel Logout sink (RFC 8417 / OpenID Connect Back-Channel Logout 1.0).
C ImpersonationEndpoints N7-3 — BFF endpoints for admin impersonation overlay.

redb.Identity.Web.Services

Classes

C RevokedSidsCache Thread-safe in-memory implementation of . Entries
C RevokedSidsPollHostedService W6-0 — periodically polls the Identity host's
C ToastService
C UndoPrompt One in-flight undo prompt — message, expected duration, and the
C UndoToastService Optimistic-mutation orchestrator. Replaces "Are you sure?" confirm dialogs

Interfaces

I IRevokedSidsCache W6-0 — local cache of backchannel-revoked OIDC sessions, sourced from the cluster-wide