UNPKG

user-center-auth

Version:
15 lines (10 loc) 321 B
import {Application, Response, Request, NextFunction} from 'express'; interface Config{ acl?: boolean, exclude?: string [], loginUrl: string, infoUrl: string } function mid(req: Request, res: Response, next: NextFunction): void function middleware(app: Application, config: Config): mid; export = middleware;