From 5f10bf9957a2541828501cfecab0310908b2f62f Mon Sep 17 00:00:00 2001 From: hiramatsutaku Date: Tue, 24 Mar 2020 23:32:23 +0900 Subject: [PATCH] docs: add jwtid to options of jwt.verify (#704) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a0b142d..da35fa5 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ As mentioned in [this comment](https://github.com/auth0/node-jsonwebtoken/issues > Eg: `"urn:foo"`, `/urn:f[o]{2}/`, `[/urn:f[o]{2}/, "urn:bar"]` * `complete`: return an object with the decoded `{ payload, header, signature }` instead of only the usual content of the payload. * `issuer` (optional): string or array of strings of valid values for the `iss` field. +* `jwtid` (optional): if you want to check JWT ID (`jti`), provide a string value here. * `ignoreExpiration`: if `true` do not validate the expiration of the token. * `ignoreNotBefore`... * `subject`: if you want to check subject (`sub`), provide a value here