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.

3 lines (2 loc) 115 B
import { NextRequest } from 'next/server'; export declare function getApiBaseUrl(req: NextRequest): string | null;