Merge pull request #98 from adam-back/patch-1

Fix typo, line 139 README, complete option for .decode.
This commit is contained in:
Damian Schenkelman
2015-06-17 19:31:18 -05:00
+1 -1
View File
@@ -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