UNPKG

nralcm

Version:

This is a framework based on NodeJs to manage rest api request lifecycle

19 lines (18 loc) 550 B
import { IAuthHandler } from "../security"; import "reflect-metadata/Reflect"; import { HttpContext } from ".."; import { RestApiConfiguration } from "../config"; /** * Handler to process authentication * and authorization */ export declare class AuthHandler implements IAuthHandler { private restApiConfiguration; constructor(restApiConfiguration: RestApiConfiguration); /** * Method to process authentication * and authorization * @param context HttpContext Object */ handle(context: HttpContext): boolean; }