From 3d3413221f36acef4dfd1cbed87f1f3565cd6f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20F=2E=20Romaniello?= Date: Tue, 19 May 2015 10:45:44 -0300 Subject: [PATCH] fix typo in docs . closes #86 --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index dfc0a47..e6480d9 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,6 @@ Additional headers can be provided via the `headers` object. Generated jwts will include an `iat` claim by default unless `noTimestamp` is specified. -Setting `ignoreExpiration` to `true` will prevent expired tokens from generating an error. - Example ```js @@ -78,6 +76,7 @@ encoded public key for RSA and ECDSA. * `algorithms`: List of strings with the names of the allowed algorithms. For instance, `["HS256", "HS384"]`. * `audience`: if you want to check audience (`aud`), provide a value here * `issuer`: if you want to check issuer (`iss`), provide a value here +* `ignoreExpiration`: if `true` do not validate the expiration of the token. ```js // verify a token symmetric - synchronous