@qelos/auth
Version:
Express Passport authentication service
5 lines (4 loc) • 396 B
TypeScript
/// <reference types="qs" />
import { RequestHandler } from 'express';
export declare const onlyAuthenticated: RequestHandler<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>;
export declare const onlyPrivileged: RequestHandler<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>;