We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5fa50f commit dd8969eCopy full SHA for dd8969e
README.md
@@ -17,7 +17,7 @@ $ npm install jsonwebtoken
17
18
(Synchronous) Returns the JsonWebToken as string
19
20
-`payload` could be an literal, buffer or string
+`payload` could be an object literal, buffer or string. *Please note that* `exp` is only set if the payload is an object literal.
21
22
`secretOrPrivateKey` is a string or buffer containing either the secret for HMAC algorithms, or the PEM
23
encoded private key for RSA and ECDSA.
0 commit comments