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
This was (initially) avoided due to possible confusion: JWTs represent time values as seconds since epoch (not millis) but Java longs usually represent millis since epoch.
A single long scalar value allows ambiguity that can only be understood by reading JavaDoc, whereas the current method signatures avoid this problem entirely.
It would be nice to see a second signature overload for .setExpiration(long), setIssuedAt(long) etc. which takes a long value instead of a date.
The text was updated successfully, but these errors were encountered: