Skip to content

Releases: kreait/firebase-tokens-php

1.9.2

16 Oct 21:12
1.9.2
59d4f02
Compare
Choose a tag to compare

Fixed an issue that the Custom Token Generator was carrying state between consecutive calls (Thanks @danizord for finding and fixing the issue)

1.9.1

26 Aug 16:18
1.9.1
8b3ae91
Compare
Choose a tag to compare

Bumped kreait/clock to ^1.0.1 (1.0.0 had PHPUnit required as a non-dev dependency)

1.9.0

26 Aug 14:36
1.9.0
707144b
Compare
Choose a tag to compare
  • Re-implemented the functionality in the Kreait\Firebase\JWT namespace.
  • Added Kreait\Firebase\JWT\CustomTokenGenerator as the recommended replacement for Firebase\Auth\Token\Generator
  • Added Kreait\Firebase\JWT\IdTokenVerifier as the recommended replacement for Firebase\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

19 Aug 22:36
1.8.1
ee0d336
Compare
Choose a tag to compare

Firebase\Auth\Token\Exception\InvalidToken can now have any Throwable as the $previous parameter.

1.8.0

12 Jun 18:40
1.8.0
a7c85da
Compare
Choose a tag to compare

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

26 Oct 22:03
1.7.2
a300c7d
Compare
Choose a tag to compare
  • 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 thrown Firebase\Auth\Token\Exception\InvalidToken,
    so existing behaviour doesn't change.

1.7.1

07 Jan 00:59
1.7.1
85b8cdf
Compare
Choose a tag to compare

Fix bug that not more than one custom token could be created at a time.

1.7.0

03 Jan 13:56
1.7.0
cbcbd1f
Compare
Choose a tag to compare
  • Cache results from the HTTP Key Store in a PSR-16 cache (default: in memory)
  • Deprecated Firebase\Auth\Token\Handler

1.6.1

12 Jul 17:38
1.6.1
feb0e63
Compare
Choose a tag to compare

Add missing $expiresAt parameter when creating a custom token with the Handler.

1.6.0

12 Jul 17:04
1.6.0
0860a39
Compare
Choose a tag to compare

Allow a custom expiration time for custom tokens.

(see kreait/firebase-php#98)