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

3 lines 251 B
export declare function authenticateToken(accessSecret: string): (ctx: any, next: any) => Promise<void>; export declare function authenticateRefreshToken(refreshSecret: string): (ctx: any, next: any) => Promise<void>; //# sourceMappingURL=koa.d.ts.map