Function throwManagementAuthError
- throwManagementAuthError(req, _res, next): void
-
Parameters
-
req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
-
_res: Response<any, Record<string, any>>
-
next: ((errOrEscape?) => void)
-
- (errOrEscape?): void
-
Parameters
-
Optional
errOrEscape: any
Returns void
Returns void
This is an Express Middleware which throws an error if there're any Authorization errors in ManagementAuthenticationContext.