JwtConsumer has no way to override system clock

Issue #151 closed
Arve Nygård created an issue

When testing code that validates a JWT, it would be very useful to be able to pass in a frozen Clock instance so that tests can run against a static JWT with expiration time.

Comments (4)

  1. Arve Nygård Account Deactivated reporter

    Thanks, perfect 👌 I did not notice this option, was looking for setClock or something similar.

  2. Log in to comment