UNPKG

@frank-auth/react

Version:

Flexible and customizable React UI components for Frank Authentication

62 lines (61 loc) 3.33 kB
'use client'; import { default as UserButton, UserAvatar, UserProfile as UserProfileDropdown } from './user-button'; import { default as UserProfile, MFASetup, PasskeySetup, ProfileForm, SecurityPanel, UserProfileModal } from './user-profile'; export * from './sign-in'; export * from './sign-up'; export * from './common'; export * from './sign-in'; export * from './account-linking'; export * from './password'; export * from './magic-link'; export * from './invitations'; export * from './verification'; /** * @frank-auth/react - Auth Components Index * * Main entry point for all authentication components including user management, * sign-in/sign-up flows, organization management, and security features. */ export { UserButton, UserProfile as UserProfileDropdown, UserAvatar, type UserButtonProps, type UserProfileMenuItem, type UserAvatarProps, } from './user-button'; export { UserProfile, UserProfileModal, useUserProfileModal, ProfileForm, SecurityPanel, MFASetup, PasskeySetup, type UserProfileProps, type UserProfileModalProps, type UserProfileTab, type ProfileFormProps, type ProfileFormData, type ProfileFormField, type SecurityPanelProps, type SecurityPanelSection, type MFASetupProps, type MFAMethodConfig, type PasskeySetupProps, type PasskeyTypeConfig, } from './user-profile'; /** * Collection of all user-related authentication components */ export declare const UserComponents: { readonly UserButton: typeof UserButton; readonly UserProfile: typeof UserProfile; readonly UserProfileModal: typeof UserProfileModal; readonly UserAvatar: typeof UserAvatar; readonly ProfileForm: typeof ProfileForm; readonly SecurityPanel: typeof SecurityPanel; readonly MFASetup: typeof MFASetup; readonly PasskeySetup: typeof PasskeySetup; }; /** * Collection of user interface components */ export declare const UserInterfaceComponents: { readonly UserButton: typeof UserButton; readonly UserAvatar: typeof UserAvatar; readonly UserProfile: typeof UserProfileDropdown; }; /** * Collection of user management components */ export declare const UserManagementComponents: { readonly ProfileForm: typeof ProfileForm; readonly SecurityPanel: typeof SecurityPanel; readonly MFASetup: typeof MFASetup; readonly PasskeySetup: typeof PasskeySetup; }; export { useAuthState, useAuthActions, useAuthOrganization, useAuthStatus } from '../../hooks/use-auth'; export { useUser, useUserProfile, useUserVerification, useUserActions } from '../../hooks/use-user'; export { useSession, useSessionStatus, useMultiSession, useSessionSecurity } from '../../hooks/use-session'; export { useOrganization, useOrganizationMembership, useOrganizationInvitations } from '../../hooks/use-organization'; export { useMFA, useTOTP, useSMSMFA, useBackupCodes } from '../../hooks/use-mfa'; export { usePasskeys, usePasskeyRegistration, usePasskeyAuthentication } from '../../hooks/use-passkeys'; export { usePermissions, useOrganizationPermissions, useSystemPermissions } from '../../hooks/use-permissions'; export { useThemeColors, useThemeTypography, useThemeLayout } from '../../hooks/use-theme'; export { useFeatureFlags, useThemeConfig, useLocalizationConfig } from '../../hooks/use-config'; export { UserButton as default } from './user-button'; //# sourceMappingURL=index.d.ts.map