- Updated
*.rbfiles' file permissions.
- Add compatibility with
jwtgemv2.0.
- Add
expiryoption to theValidatorwhich defines the time after which the certificates cache should be renewed. This prevents continuously fetching them in case of constant decoding errors.
- Make
Validatorthread-safe by not maintaining error state. Errors in#checkare not saved to the instance variableproblem. Added specific error classes which are raised upon validation errors instead. - Caching certificates in the
Validatorinstead of always fetching them from Google servers.