Skip to content

Commit

Permalink
Fix typo, line 139 README, complete option for .decode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Back committed Jun 17, 2015
1 parent 118ff1a commit 59c110a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jwt.verify(token, cert, { algorithms: ['RS256'] }, function (err, payload) {
`options`:

* `json`: force JSON.parse on the payload even if the header doesn't contain `"typ":"JWT"`.
* `complete`: return an object with the decode payload and header.
* `complete`: return an object with the decoded payload and header.

Example

Expand Down

0 comments on commit 59c110a

Please sign in to comment.