Lines Matching refs:to

8 A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https:…
13 Use composer to manage your dependencies and download PHP-JWT:
53 an associative array, you will need to cast it as such:
59 * You can add a leeway to account for when there is a clock skew times between
115 an associative array, you will need to cast it as such:
134 $privateKeyFile = '/path/to/key-with-passphrase.pem';
165 // Public and private keys are expected to be Base64 encoded. The last
168 // need to be adjusted to match the input expected by libsodium.
197 // Set of keys. The "keys" key is required. For example, the JSON response to
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.
209 #### Casting to array
211 The return value of `JWT::decode` is the generic PHP object `stdClass`. If you'd like to handle wit…
218 // cast to array
233 - New Key object to prevent key/algorithm type confusion (#365)
246 - Update `JWT::verify` to handle OpenSSL errors.
248 - Add `array` type hinting to `decode` method
261 …See [#88](https://github.com/firebase/php-jwt/pull/88) for details. Thanks to [@chappy84](https://…
262 …amp` instead of `time()` to improve unit testing. See [#93](https://github.com/firebase/php-jwt/pu…
263 - Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. …
264 - Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@…
267 - Minimum PHP version updated from `5.2.0` to `5.3.0`.
269 [#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to
271 - Require a non-empty key to decode and verify a JWT. See
272 [#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to
275 [#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to
279 - Add support for adding custom, optional JWT headers to `JWT::encode()`. See
280 [#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to
284 - Add support for adding a leeway to `JWT:decode()` that accounts for clock skew
285 between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)!
287 `$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)!
290 - **Note**: It is strongly recommended that you update to > v2.0.0 to address
293 - Update signature for `JWT::decode(...)` to require an array of supported
294 algorithms to use when verifying token signatures.
313 If your private key contains `\n` characters, be sure to wrap it in double quotes `""`
314 and not single quotes `''` in order to properly interpret the escaped characters.