UNPKG

@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.

7 lines (6 loc) 231 B
import { NextRequest, NextResponse } from 'next/server'; interface HandlerConfig { apiBaseUrl: string; } export declare const handlers: ({ apiBaseUrl }: HandlerConfig) => (req: NextRequest) => Promise<NextResponse>; export {};