RedBase Documentation

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

API Reference

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

Showing: redb.Identity.Core.Services Show all

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.