UNPKG

diesel-core

Version:

Web framework built on Web Standards

5 lines (4 loc) 375 B
import { ContextType } from "../types"; declare function authenticateJwtMiddleware(jwt: any, user_jwt_secret: string): (ctx: ContextType) => Response | undefined; declare function authenticateJwtDbMiddleware(jwt: any, User: any, user_jwt_secret: string): (ctx: ContextType) => Promise<Response | undefined>; export { authenticateJwtMiddleware, authenticateJwtDbMiddleware };