AuthenticatedMiddleware

Module
import { AuthenticatedMiddleware } from "@tsed/common"
Source/packages/common/src/mvc/components/AuthenticatedMiddleware.ts

Overview

class AuthenticatedMiddleware implements IMiddleware {
    use(request: Req, endpoint: EndpointInfo): void;
}

Description

This middleware manage the authentication based on passport strategy.

Members

use(request: Req, endpoint: EndpointInfo): void