From ca462ed36ab5efeb8c0658f5a9235d9e38ae8457 Mon Sep 17 00:00:00 2001 From: Toby Date: Mon, 2 Oct 2023 23:18:05 +0200 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 501185d..5e91875 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Argument | Type | Status | Default | Description ----------- | -------- | -------- | ------- | ----------- `token` | `string` | required | - | The token string generated by `jwt.sign()`. `secret` | `string` | required | - | The string which was used to sign the payload. -`options` | `object` | optional | `{ algorithm: 'HS256', throwError: false }` | The options object supporting `algorithm` and `throwError`. (See [Available Algorithms](#available-algorithms)) +`options` | `object` | optional | `{ algorithm: 'HS256', skipValidation: false, throwError: false }` | The options object supporting `algorithm`, `skipValidation` and `throwError`. (See [Available Algorithms](#available-algorithms)) #### `throws` If `options.throwError` is `true` and the token is invalid, an error will be thrown.