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

22 lines 720 B
export { generateTokens, verifyToken, verifyRefreshToken } from './jwt.js'; export declare const expressAuth: () => any; export declare const fastifyAuth: () => any; export declare const koaAuth: () => any; export declare const hapiAuth: () => any; export declare const nextAuth: () => any; export declare const nestAuth: () => any; export declare const rbacAuth: () => any; declare const _default: { generateTokens: any; verifyToken: any; verifyRefreshToken: any; expressAuth: () => any; fastifyAuth: () => any; koaAuth: () => any; hapiAuth: () => any; nextAuth: () => any; nestAuth: () => any; rbacAuth: () => any; }; export default _default; //# sourceMappingURL=index.d.ts.map