Function checkRequestAuthentication
check Request Authentication( request: Request < ParamsDictionary , any , any , ParsedQs , Record < string , any > > , authenticate: ( ( req: Request < ParamsDictionary , any , any , ParsedQs , Record < string , any > > , res: Response < any , Record < string , any > > , next: NextFunction ) => Promise < void > ) ) : Promise < void >
Parameters
request: Request < ParamsDictionary , any , any , ParsedQs , Record < string , any > >
authenticate: ( ( req: Request < ParamsDictionary , any , any , ParsedQs , Record < string , any > > , res: Response < any , Record < string , any > > , next: NextFunction ) => Promise < void > )
( req: Request < ParamsDictionary , any , any , ParsedQs , Record < string , any > > , res: Response < any , Record < string , any > > , next: NextFunction ) : Promise < void >
Parameters
req: Request < ParamsDictionary , any , any , ParsedQs , Record < string , any > >
res: Response < any , Record < string , any > >
next: NextFunction
Returns Promise < void >
Returns Promise < void >
Checks that a request passes authentication with the given authenticate function