Open lutangar opened 1 year ago
Didn't notice at first but #178 is related. I could implement the JWT::$leeway
in this one if interested.
Yes make sens 👍
Added JWT::$leeway
usage in 2b563b8, as seen in #178
This allows time manipulation for testing purpose. See JWTTest.php#L79-L90 for a usecase.
Ping @hajekj
This allows better testability.
This feature is better described in the
JWT
class :