You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -198,8 +198,8 @@ use Firebase\JWT\JWT;
198
198
// this endpoint: https://www.gstatic.com/iap/verify/public_key-jwk
199
199
$jwks = ['keys' => []];
200
200
201
-
// JWK::parseKeySet($jwks) returns an associative array of **kid** to private
202
-
// key. Pass this as the second parameter to JWT::decode.
201
+
// JWK::parseKeySet($jwks) returns an associative array of **kid** to Firebase\JWT\Key
202
+
// objects. Pass this as the second parameter to JWT::decode.
203
203
JWT::decode($payload, JWK::parseKeySet($jwks));
204
204
```
205
205
@@ -208,6 +208,7 @@ Changelog
208
208
209
209
#### 6.0.0 / 2022-01-24
210
210
211
+
-**Backwards-Compatibility Breaking Changes**: See the [Release Notes](https://github.com/firebase/php-jwt/releases/tag/v5.5.1) for more information.
211
212
- New Key object to prevent key/algorithm type confusion (#365)
0 commit comments