Skip to content

Commit bb90330

Browse files
danielmirchandanibshaffer
authored andcommitted
ExpiredException didn't have the correct namespace
1 parent 9980676 commit bb90330

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Google/AccessToken/Verify.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19+
use Firebase\JWT\ExpiredException as ExpiredExceptionV3;
1920
use Google\Auth\CacheInterface;
2021
use GuzzleHttp\Client;
2122
use GuzzleHttp\ClientInterface;
@@ -107,6 +108,8 @@ public function verifyIdToken($idToken, $audience = null)
107108
return (array) $payload;
108109
} catch (ExpiredException $e) {
109110
return false;
111+
} catch (ExpiredExceptionV3 $e) {
112+
return false;
110113
} catch (DomainException $e) {
111114
// continue
112115
}

0 commit comments

Comments
 (0)