Skip to content

Commit

Permalink
fix typo in docs . closes #86
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed May 19, 2015
1 parent 214b9c4 commit 3d34132
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3d34132

Please sign in to comment.