Releases: kreait/firebase-tokens-php
Releases · kreait/firebase-tokens-php
1.9.2
1.9.1
Bumped kreait/clock
to ^1.0.1
(1.0.0
had PHPUnit required as a non-dev dependency)
1.9.0
- Re-implemented the functionality in the
Kreait\Firebase\JWT
namespace. - Added
Kreait\Firebase\JWT\CustomTokenGenerator
as the recommended replacement forFirebase\Auth\Token\Generator
- Added
Kreait\Firebase\JWT\IdTokenVerifier
as the recommended replacement forFirebase\Auth\Token\Verifier
- After updating, please refer to the Migration Documentation to be ready for the 2.0 release of this library.
1.8.1
Firebase\Auth\Token\Exception\InvalidToken
can now have any Throwable
as the $previous
parameter.
1.8.0
The "auth_time" and "iat" claims are now verified with a 5 minute leeway, this is the same behaviour as in the Firebase Admin .NET SDK (thanks @navee85)
1.7.2
- ID Tokens must have a valid "auth_time" claim.
- The signature of an ID Token is now verified even if a prior error occured (thanks @kanoblake for reporting the issue and providing a test case)
- Tokens with an invalid signature now throw a
Firebase\Auth\Token\Exception\InvalidSignature
exception. It extends the previously thrownFirebase\Auth\Token\Exception\InvalidToken
,
so existing behaviour doesn't change.
1.7.1
Fix bug that not more than one custom token could be created at a time.
1.7.0
- Cache results from the HTTP Key Store in a PSR-16 cache (default: in memory)
- Deprecated
Firebase\Auth\Token\Handler
1.6.1
Add missing $expiresAt
parameter when creating a custom token with the Handler.
1.6.0
Allow a custom expiration time for custom tokens.
(see kreait/firebase-php#98)