Skip to content

Commit

Permalink
Merge cd93f76 into 8b4e4c7
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenpelgrims committed May 4, 2014
2 parents 8b4e4c7 + cd93f76 commit 85da21d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -63,6 +63,12 @@ Bearer tokens are typically issued using OAuth 2.0. [OAuth2orize](https://githu
is a toolkit for implementing OAuth 2.0 servers and issuing bearer tokens. Once
issued, this module can be used to authenticate tokens as described above.

#### Making authenticated requests
The HTTP Bearer authentication strategy authenticates requests based on a bearer token contained in the:
* `Authorization` header field where the value is in the format `{scheme} {token}` and scheme is "Bearer" in this case.
* or `access_token` body parameter
* or `access_token` query parameter

## Examples

For a complete, working example, refer to the [Bearer example](https://github.com/jaredhanson/passport-http-bearer/tree/master/examples/bearer).
Expand Down

0 comments on commit 85da21d

Please sign in to comment.