- Source:
Methods
-
<static> checkAuthHeaders(req, res)
-
General purpose utility that checks the request for security headers and validates them. If error, a 403 response will be added to the passed in res object (if available)
Parameters:
Name Type Description req
res
optional
- Source:
-
<static> lockRoute(routePath)
-
Any routes passed into this method will become locked: e.g the service will validate security headers.
Parameters:
Name Type Description routePath
- Source: