@inertiapixel/nextjs-auth
Version:
Authentication system for Next.js. Supports credentials and social login, JWT token management, and lifecycle hooks — designed to integrate with nodejs-auth for full-stack MERN apps.
17 lines (16 loc) • 441 B
JavaScript
//src/index.ts
export * from './context/AuthProvider';
//Hooks
export { useAuth } from './hooks/useAuth';
//token
export * from './utils/tokenStorage';
//props
export * from './types';
//components
// export { SignedIn } from './components/SignedIn';
// export { SignedOut } from './components/SignedOut';
// export { Protect } from './components/Protect';
//HOC
export { withAuth } from './hoc/withAuth';
//Server
export * from './server';