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.

9 lines (8 loc) 193 B
export interface DecodedToken { id: string; email: string; name: string; role?: string; avatar?: string; } export declare const parseToken: (token: string) => DecodedToken;