UNPKG

@altanlabs/auth

Version:

React authentication library built on top of @altanlabs/database

17 lines 1.14 kB
import './styles.css'; export { AuthProvider, useAuth, useAuthAPI, useAuthActions, useAuthError, useAuthLoading, useAuthUser } from './AuthProvider'; export { ProtectedRoute } from './ProtectedRoute'; export { createAuthenticatedApi } from './api'; export type { AuthUser, LoginCredentials, RegisterCredentials, FieldMapping, AuthContextValue, } from './types'; export { default as SignIn } from './components/SignIn'; export type { SignInProps } from './components/SignIn'; export { default as SignUp } from './components/SignUp'; export type { SignUpProps } from './components/SignUp'; export { default as AuthenticatedIframe } from './components/AuthenticatedIframe'; export type { AuthenticatedIframeProps } from './components/AuthenticatedIframe'; export { default as UserProfile } from './components/UserProfile'; export type { UserProfileProps, CustomPage } from './components/UserProfile'; export { default as Logout } from './components/Logout'; export { default as GoogleAuth } from './components/ContinueWithGoogle'; export type { ContinueWithGoogleProps } from './components/ContinueWithGoogle'; //# sourceMappingURL=index.d.ts.map