All Notable changes to webthink/guzzle-jwt
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- Added a function setOffset to TimeoutFactory.
- Drop support for PHP 5. Minimum PHP version is PHP 7.1
- Added strict types everywhere.
- Added typehints
- Made all classes final.
- BadTokenRequestException is removed.
SymfonySessionStorage
uses\Symfony\Component\HttpFoundation\Session\SessionInterface
instead of\Symfony\Component\HttpFoundation\Session\Session
TokenFactory
will use defaultBase64Encoder
- Change the minimum required version of guzzle from
^6.2
to6.*
- Fixed the alias version in composer.
- Function that was calculating the timeout token if it was valid was wrong.
- BC CHANGE Renamed the
TokenRequestException
toBadTokenRequestException
and made it extendRequestException
and notBadResponseException
. Bad Response exception is reserved by Guzzle for 4xx and 5xx code and not if the server returned 2xx but the token was invalid.
- Created the initial functionality.