UNPKG

@the-node-forge/jwt-utils

Version:

A flexible, lightweight Node.js JWT library for generating, verifying, and managing JSON Web Tokens (JWTs). Supports access and refresh tokens with customizable secrets for authentication and role-based access control. Includes middleware for Express, Fas

2 lines 219 B
export declare function authenticateToken(handler: (req: any, res: any) => void, accessSecret: string, refreshSecret: string, allowRefreshToken?: boolean): (req: any, res: any) => any; //# sourceMappingURL=next.d.ts.map