export * from './authentication' export * from './impersonation' export { requestImpersonation } from './impersonation-auth' export * from './impersonation-store' export * from './authenticator' export * from './client' export * from './credential-user' export * from './middleware' export * from './oauth-authorization' export * from './oauth-authorization-endpoint' export * from './oauth-authorization-requests' export * from './oauth-authorization-response' export * from './oauth-authorization-codes' export * from './oauth-browser-session' export * from './oauth-client-registration' export * from './oauth-consent' export * from './oauth-delegated-access' export * from './oauth-grants' export * from './oauth-introspection' export * from './oauth-metadata' export * from './oauth-provider' export * from './oauth-pruning' export * from './oauth-pkce' export * from './oauth-revocation' export * from './oauth-token-exchange' export * from './oauth-token-endpoint' export * from './oauth-token-request' export * from './oauth-token-response' export * from './rate-limiter' // WebAuthn/Passkey support (now using ts-auth - no external dependencies) export * from './magic-link' export * from './passkey' export * from './passkeys' export * from './password/reset' export * from './password/reset-token' export * from './register' export * from './display-name' export * from './user' // Token management (Laravel Passport-style) export * from './tokens' // Authorization Gates & Policies (Laravel-style) export * from './gate' export * from './policy' export * from './authorizable' export * from './permissions' // Role-Based Access Control (RBAC) export * from './rbac' export { createBqbRbacStore } from './rbac-store-bqb' export { DEFAULT_ROLE_PACKS, seedDefaultRoles } from './rbac-seed' export { adminEmails, databaseAdminAccounts, nameFromEmail, provisionAdmins } from './admins' export type { AdminAccountStore, AdminRole, ProvisionAdminsOptions, ProvisionedAdmin } from './admins' export type { SeedDefaultRolesResult } from './rbac-seed' // Email Verification export * from './email-verification' // Session-based Authentication (SPA Cookie Auth) export * from './session-auth' // Cookie-carried access tokens, for server-rendered pages. export * from './cookie-auth' export * from './browser-session' export * from './browser-session-store' export * from './request-token' // The stx page gate (`middleware: ['auth' | 'guest']`), token-validating. export * from './page-gate' // Social sign-in: which local user a provider identity resolves to. export * from './socials' // One-use, browser-bound codes that move a redirect flow's sign-in into a page. export * from './session-handoff' // TOTP (Two-Factor Authentication) - re-export from ts-auth export { generateTOTP, verifyTOTP, generateTOTPSecret, totpKeyUri, } from '@stacksjs/ts-auth' // TOTP setup/enable/disable + login-challenge persistence export * from './two-factor' export * from './two-factor-recovery-codes' // Team resolution from auth credentials (dashboard-form scoping) export * from './team' // Referral codes, signup attribution, and server-verified conversions. export * from './referrals' export * from './oauth-dynamic-registration' export * from './oauth-protected-resource' export * from './oauth-userinfo' export * from './oauth-server'