mirror of
https://github.com/hanzoai/node-jsonwebtoken.git
synced 2026-09-24 17:00:48 +00:00
Merge pull request #98 from adam-back/patch-1
Fix typo, line 139 README, complete option for .decode.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user