Files
SerpentRace/SerpentRace_Backend/dist/Application/Services/AuthMiddleware.d.ts
T

6 lines
462 B
TypeScript

import { Request, Response, NextFunction } from 'express';
import { JWTService } from './JWTService';
export declare const jwtService: JWTService;
export declare function authRequired(req: Request, res: Response, next: NextFunction): Response<any, Record<string, any>> | undefined;
export declare function adminRequired(req: Request, res: Response, next: NextFunction): Response<any, Record<string, any>> | undefined;
//# sourceMappingURL=AuthMiddleware.d.ts.map