Skip to content

Releases: beste/firebase-tokens-php

1.6.1

12 Jul 17:38
1.6.1
feb0e63

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

Choose a tag to compare

Allow a custom expiration time for custom tokens.

(see beste/firebase-php#98)

1.5.0

03 Apr 18:56
2575c79

Choose a tag to compare

Allow the usage of a custom key store when using the Handler.

1.4.0

15 Mar 13:43
1.4.0
7d69eef

Choose a tag to compare

Token verification now includes existence checks for claims (follow up to kreait/firebase-php#70)

1.3.0

02 Mar 09:53
1.3.0
ff3a7d9

Choose a tag to compare

Tokens that seem to be issued in the future now cause a Firebase\Auth\Token\Exception\IssuedInTheFuture exception. It includes the hint that the system time might not be correct.

1.2.1

01 Mar 10:54
1.2.1
0e35d0a

Choose a tag to compare

Fixed message on UnknownKey exceptions.

1.2.0

28 Feb 22:08
1.2.0
655e52c

Choose a tag to compare

Expired tokens now throw a Firebase\Auth\Token\Exception\ExpiredToken exception. It extends the previously thrown Firebase\Auth\Token\Exception\InvalidToken, so existing behaviour doesn't change.

1.1.1

19 Feb 21:15
1.1.1
47bf800

Choose a tag to compare

Fixed beste/firebase-php#65: invalid custom token when no claims are given.

1.1.0

17 Feb 23:46
1.1.0
9abb9a4

Choose a tag to compare

Replaced StaticKeyStore with HttpKeyStore, which fetches frech Google Public Keys each time its get() method is invoked. Caching can be implemented by injecting an HTTP client with a cache middleware, e.g. kevinrob/guzzle-cache-middleware.

StaticKeyStore was flawed because it was determined to have outdated keys rather sooner than later.

1.0.1

07 Feb 19:19
1.0.1
2e67bf0

Choose a tag to compare

  • Removed non-functional debug header
  • Added "php": "^7.0"requirement to composer.json