From 35d84152a6b716d757cb5b1dd3c79fe3a1bc0628 Mon Sep 17 00:00:00 2001 From: Greg Walden Date: Fri, 3 Feb 2017 13:38:42 -0500 Subject: [PATCH] rauchg/ms.js changed to zeit/ms (#303) * rauchg/ms.js changed to zeit/ms * Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bfe19ff..9d7980e 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ encoded private key for RSA and ECDSA. `options`: * `algorithm` (default: `HS256`) -* `expiresIn`: expressed in seconds or a string describing a time span [rauchg/ms](https://github.com/rauchg/ms.js). Eg: `60`, `"2 days"`, `"10h"`, `"7d"` -* `notBefore`: expressed in seconds or a string describing a time span [rauchg/ms](https://github.com/rauchg/ms.js). Eg: `60`, `"2 days"`, `"10h"`, `"7d"` +* `expiresIn`: expressed in seconds or a string describing a time span [zeit/ms](https://github.com/zeit/ms). Eg: `60`, `"2 days"`, `"10h"`, `"7d"` +* `notBefore`: expressed in seconds or a string describing a time span [zeit/ms](https://github.com/zeit/ms). Eg: `60`, `"2 days"`, `"10h"`, `"7d"` * `audience` * `issuer` * `jwtid` @@ -116,7 +116,7 @@ encoded public key for RSA and ECDSA. * `ignoreExpiration`: if `true` do not validate the expiration of the token. * `ignoreNotBefore`... * `subject`: if you want to check subject (`sub`), provide a value here -* `clockTolerance`: number of second to tolerate when checking the `nbf` and `exp` claims, to deal with small clock differences among different servers +* `clockTolerance`: number of seconds to tolerate when checking the `nbf` and `exp` claims, to deal with small clock differences among different servers ```js