v1.0.0Published 6 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.


SimpleRest middleware for parsing a standard bearer token from an HTTP request

Middleware Name

This middleware can be accessed as:


Request Properties Required

  • None

Request Properties Modified

  • 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>