UNPKG

@inertiapixel/nextjs-auth

Version:

A reusable Next.js authentication package supporting credentials, OTP, and OAuth login.

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;