You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Jwt.prototype.setIssuedAt() and .setExpiration() functions are both time-related, but take in three separate arguments of inconsistent types. IssuedAt only takes in an integer representing seconds, while Expiration can take an integer representing milliseconds, or a Date object. Can you make these arguments consistent?
njwt.create(...)
.setIssuedAt(seconds)
.setExpiration(date or milliseconds);
The Jwt.prototype.setIssuedAt() and .setExpiration() functions are both time-related, but take in three separate arguments of inconsistent types. IssuedAt only takes in an integer representing seconds, while Expiration can take an integer representing milliseconds, or a Date object. Can you make these arguments consistent?
IssuedAt:
njwt/index.js
Lines 182 to 185 in ce98cd4
njwt/index.js
Lines 155 to 157 in ce98cd4
njwt/index.js
Lines 38 to 40 in ce98cd4
Expiration:
njwt/index.js
Line 188 in ce98cd4
The text was updated successfully, but these errors were encountered: