jsm-core
Version:
Core library for JSM project
10 lines (9 loc) • 390 B
TypeScript
import { NextFunction, Request, Response } from 'express';
/**
* @description Attach the calling service to req.attached_entities
* @param {*} req Express req Object
* @param {*} res Express res Object
* @param {*} next Express next Function
*/
declare const authenticateService: (req: Request, res: Response, next: NextFunction) => Promise<any>;
export default authenticateService;