Skip to content

Commit

Permalink
Merge pull request oauthjs#126 from bvinnerd/doc-fix-get-access-token
Browse files Browse the repository at this point in the history
Update docs for model function getAccessToken
  • Loading branch information
thomseddon committed Jan 2, 2015
2 parents 2e83943 + dc43b17 commit 4d4f248
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ Note: see https://github.com/thomseddon/node-oauth2-server/tree/master/examples/
- *date* **expires**
- The date when it expires
- `null` to indicate the token **never expires**
- *string|number* **userId**
- The user id (saved in req.user.id)
- *mixed* **user** *or* *string|number* **userId**
- If a `user` key exists, this is saved as `req.user`
- Otherwise a `userId` key must exist, which is saved in `req.user.id`

#### getClient (clientId, clientSecret, callback)
- *string* **clientId**
Expand Down

0 comments on commit 4d4f248

Please sign in to comment.