auth0 / node-jsonwebtoken

JsonWebToken implementation for node.js http://self-issued.info/docs/draft-ietf-oauth-json-web-token.html
MIT License
17.74k stars 1.23k forks source link

Documentation Duplicacy #964

Open Mr-mahato opened 8 months ago

Mr-mahato commented 8 months ago

Description

As i was going through the jsonwebtoken documentation , i saw that there is a part which is repeated twice , This is present in the Usage where its telling about expiresIn and not-before part , I found that part is repeated twice is it a typo error or its right ?

expiresIn: expressed in seconds or a string describing a time span vercel/ms. Eg: 60, "2 days", "10h", "7d". A numeric value is interpreted as a seconds count. If you use a string be sure you provide the time units (days, hours, etc), otherwise milliseconds unit is used by default ("120" is equal to "120ms").

notBefore: expressed in seconds or a string describing a time span vercel/ms. Eg: 60, "2 days", "10h", "7d". A numeric value is interpreted as a seconds count. If you use a string be sure you provide the time units (days, hours, etc), otherwise milliseconds unit is used by default ("120" is equal to "120ms").