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 141 B
export declare function authorizeRoles(...allowedRoles: string[]): (req: any, res: any, next: any) => any; //# sourceMappingURL=rbac.d.ts.map