File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,6 @@ Additional headers can be provided via the `headers` object.
41
41
42
42
Generated jwts will include an ` iat ` claim by default unless ` noTimestamp ` is specified.
43
43
44
- Setting ` ignoreExpiration ` to ` true ` will prevent expired tokens from generating an error.
45
-
46
44
Example
47
45
48
46
``` js
@@ -78,6 +76,7 @@ encoded public key for RSA and ECDSA.
78
76
* ` algorithms ` : List of strings with the names of the allowed algorithms. For instance, ` ["HS256", "HS384"] ` .
79
77
* ` audience ` : if you want to check audience (` aud ` ), provide a value here
80
78
* ` issuer ` : if you want to check issuer (` iss ` ), provide a value here
79
+ * ` ignoreExpiration ` : if ` true ` do not validate the expiration of the token.
81
80
82
81
``` js
83
82
// verify a token symmetric - synchronous
You can’t perform that action at this time.
0 commit comments