SimpleRest middleware for parsing a standard bearer token from an HTTP request
This middleware can be accessed as:
JsonRoutes.Middleware.parseBearerToken
- None
request.authToken
- String
- The parsed bearer token, or
null
if none is found
Accepts tokens passed via the standard header or URL query parameter (whichever is found first, in that order).
The header signature is: Authorization: Bearer <token>
The query signature is: ?access_token=<token>