UNPKG

jsonwebtoken-util

Version:
8 lines (7 loc) 351 B
/** * Middleware that verifies a token and stores the token data in res.locals['token_data'] * @param req - The request object * @param res - The response object * @param next - The next function */ export declare const verifyToken: (req: import("express").Request, res: import("express").Response, next: import("express").NextFunction) => void;