From e64e89f325e5ff6db64acbeceba686959758f92a Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Sun, 9 Oct 2022 20:56:35 +0200 Subject: [PATCH] fix typo --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cd6816c..f643876 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Signs a payload and returns the token. #### Arguments -Argument | Type | Satus | Default | Description +Argument | Type | Status | Default | Description ----------- | -------- | -------- | ------- | ----------- `payload` | `object` | required | - | The payload object. To use `nbf` (Not Before) and/or `exp` (Expiration Time) add `nbf` and/or `exp` to the payload. `secret` | `string` | required | - | A string which is used to sign the payload. @@ -100,7 +100,7 @@ Returns token as a `string`. Verifies the integrity of the token and returns a boolean value. -Argument | Type | Satus | Default | Description +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. @@ -119,7 +119,7 @@ Returns `true` if signature, `nbf` (if set) and `exp` (if set) are valid, otherw Returns the payload **without** verifying the integrity of the token. Please use `jwt.verify()` first to keep your application secure! -Argument | Type | Satus | Default | Description +Argument | Type | Status | Default | Description ----------- | -------- | -------- | ------- | ----------- `token` | `string` | required | - | The token string generated by `jwt.sign()`. @@ -147,4 +147,4 @@ Returns an `object` containing `header` and `payload`: - HS512 - RS256 - RS384 - - RS512 \ No newline at end of file + - RS512