Classdesc

This class provides a middleware service for authentication.

Implements

Implements

  • NestMiddleware

Constructors

Methods

Constructors

Methods

  • Middleware function for authentication.

    Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

      The request object.

    • res: Response<any, Record<string, any>>

      The response object.

    • next: NextFunction

      The next middleware function.

    Returns Promise<Response<any, Record<string, any>>>

    Method