UNPKG

@villedemontreal/jwt-validator

Version:
8 lines 383 B
import * as express from 'express'; /** * JWT validation Middleware * * @param {boolean} mandatoryValidation Defines if the JWT is mandatory. Defaults to true. */ export declare const jwtValidationMiddleware: (mandatoryValidation?: boolean) => (req: express.Request, res: express.Response, next: express.NextFunction) => Promise<void>; //# sourceMappingURL=jwtMiddleware.d.ts.map