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

8 lines 350 B
import { CanActivate, ExecutionContext } from '@nestjs/common'; export declare class AuthenticateToken implements CanActivate { private readonly accessSecret; private readonly refreshSecret; constructor(accessSecret: string, refreshSecret: string); canActivate(context: ExecutionContext): boolean; } //# sourceMappingURL=nest.d.ts.map