UNPKG

@bestcodetools/api-node-base

Version:

BestCodeTools Node Base for Backend API

16 lines 640 B
import express, { NextFunction } from 'express'; import { joi } from "../../../../externals"; import ICommand from "../../../../@types/interfaces/command"; import IJWT from "../../../../@types/interfaces/jwt"; import HttpHandler from '..'; export default class HttpAuthenticatedHandler extends HttpHandler { private jwt; private authSchema; constructor(request: express.Request, response: express.Response, next: NextFunction, command: ICommand<any, any>, additional: { jwt: IJWT; authSchema: joi.Schema; }); protected buildInput(): any; handle(): Promise<void>; } //# sourceMappingURL=index.d.ts.map