Skip to content

Commit 659f731

Browse files
committed
Add docs about numeric date fields
1 parent 2ec4960 commit 659f731

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ If `payload` is not a buffer or a string, it will be coerced into a string using
4242

4343
There are no default values for `expiresIn`, `notBefore`, `audience`, `subject`, `issuer`. These claims can also be provided in the payload directly with `exp`, `nbf`, `aud`, `sub` and `iss` respectively, but you can't include in both places.
4444

45+
Remember that `exp`, `nbf` and `iat` are **NumericDate**, see related [Token Expiration (exp claim)](#token-expiration-exp-claim)
46+
4547

4648
The header can be customized via the `option.header` object.
4749

0 commit comments

Comments
 (0)