Skip to content

Commit 5f10bf9

Browse files
docs: add jwtid to options of jwt.verify (#704)
1 parent 88cb9df commit 5f10bf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ As mentioned in [this comment](https://github.com/auth0/node-jsonwebtoken/issues
142142
> Eg: `"urn:foo"`, `/urn:f[o]{2}/`, `[/urn:f[o]{2}/, "urn:bar"]`
143143
* `complete`: return an object with the decoded `{ payload, header, signature }` instead of only the usual content of the payload.
144144
* `issuer` (optional): string or array of strings of valid values for the `iss` field.
145+
* `jwtid` (optional): if you want to check JWT ID (`jti`), provide a string value here.
145146
* `ignoreExpiration`: if `true` do not validate the expiration of the token.
146147
* `ignoreNotBefore`...
147148
* `subject`: if you want to check subject (`sub`), provide a value here

0 commit comments

Comments
 (0)