GitPedia
kamermans

kamermans/guzzle-oauth2-subscriber

OAuth 2.0 Client for Guzzle 4, 5, 6 and 7 with PHP 5.4 - PHP 8.0 - no more dependency hell!

20 Releases
Latest: 1y ago
v1.1.1Latest
kamermanskamermans·1y ago·May 13, 2025
GitHub

📋 What's Changed

  • Fix nullable deprecations for PHP 8.4+ by @KorDum in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/62

New Contributors

  • @KorDum made their first contribution in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/62
  • Full Changelog: https://github.com/kamermans/guzzle-oauth2-subscriber/compare/v1.1.0...v1.1.1
v1.1.0
kamermanskamermans·2y ago·May 2, 2024
GitHub

📦 PHP Minimum Version

  • This release drops support for PHP 5 and now requires PHP 7.1 or newer.

📋 What's Changed

  • Static return types, min ver PHP 7.1 by @kamermans in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/60
  • The restoreToken function return type can be null by @GabGr25 in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/57

New Contributors

  • @GabGr25 made their first contribution in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/57
  • Full Changelog: https://github.com/kamermans/guzzle-oauth2-subscriber/compare/v1.0.13...v1.1.0
v1.0.13
kamermanskamermans·2y ago·July 11, 2023
GitHub

📋 What's Changed

  • Move Guzzle from required to suggested by @Uebix in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/38
  • Test Maintenance by @kamermans in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/46
  • fix: no need to delete the token, just overwrite it by @kamermans in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/48
  • Create a client credentials JSON signer by @edipoReboucas in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/40
  • Update Tests to use PHP 8 by @kamermans in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/49
  • feat: matrix caching by @kamermans in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/50
  • fix: remove getConfig() call in Guzzle 6+ by @kamermans in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/47
  • method getRawData() of grant types not interface compliant and can lead to TypeError by @PawelSuwinski in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/51
  • + 1 more

New Contributors

  • @Uebix made their first contribution in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/38
  • @PawelSuwinski made their first contribution in https://github.com/kamermans/guzzle-oauth2-subscriber/pull/51
  • Full Changelog: https://github.com/kamermans/guzzle-oauth2-subscriber/compare/v1.0.12...v1.0.13
v1.0.12
kamermanskamermans·3y ago·August 17, 2022
GitHub

📋 Changes

  • PHPUnit compatibility fixes
  • Docker test runner updates
  • Better return type hinting
v1.0.11
kamermanskamermans·4y ago·August 18, 2021
GitHub

📋 Changes

  • Exclude test files / shims from package to fix errors in PHPStorm
v1.0.10
kamermanskamermans·4y ago·July 14, 2021
GitHub

Added support for `GuzzleHttp\Psr7 v1.7.0+`, which deprecated (and eventually removed) the `stream_for` helper.

v1.0.9
kamermanskamermans·5y ago·June 28, 2021
GitHub

Added support for `audience` parameter, thanks @fabiang!

v1.0.8
kamermanskamermans·5y ago·December 10, 2020
GitHub

📋 Changes

  • Added the ability to specify a custom token factory (thanks @thiakil!)
v1.0.7
kamermanskamermans·5y ago·September 16, 2020
GitHub

📋 Changes

  • Added support for Guzzle 7 (thanks @lasselehtinen!)
  • Improved testing matrix (combinations of Guzzle and PHP versions)
v1.0.6
kamermanskamermans·7y ago·February 26, 2019
GitHub

📋 Changes

  • Added `ClosureTokenPersistence` for wrapping other cache providers.
  • Added `Laravel5CacheTokenPersistence` for using the Laravel 5 cache (thanks @threesquared!).
  • Added License file to make the license more clear
v1.0.5
kamermanskamermans·7y ago·August 6, 2018
GitHub

📋 Changes

  • Support for [PSR-16: Common Interface for Caching Libraries](https://www.php-fig.org/psr/psr-16/) cache adapters.
  • New `NullGrantType` for manually specifying an access token without a method for retrieving a new one (see the README for more details).
  • The ability to get the `RawToken` object so you can directly access the OAuth access token and refresh token (if available).
  • Fix for incorrect signer interfaces in `OAuth2Handler` constructor.
  • Exclusive lock on token write for thread safety.
v1.0.5-beta.1Pre-release
kamermanskamermans·8y ago·March 15, 2018
GitHub

This release adds support for (PSR-16: Common Interface for Caching Libraries)[https://www.php-fig.org/psr/psr-16/] cache adapters, and includes a new `NullGrantType` for manually specifying an access token without a method for retrieving a new one (see the README for more details). This is beta because I may be adding one more change to the final release of 1.0.5.

v1.0.4
kamermanskamermans·8y ago·October 23, 2017
GitHub

📦 Improvement: Better handling of corrupted tokens

  • When restoring an existing token from persistence, the token may be
  • in an unreadable format, or otherwise corrupt. This update ensures
  • the corrupt file is discarded and a new access token is obtained.
v1.0.3
kamermanskamermans·8y ago·September 11, 2017
GitHub

Bugfix: Fixed error that prevented Refresh Tokens from being used properly.

v1.0.2
kamermanskamermans·8y ago·July 21, 2017
GitHub

Bugfix: Fixed signing bug for some Guzzle versions in the `PasswordCredentials` and `RefreshToken` grant types (thanks @radmar).

v1.0.1
kamermanskamermans·9y ago·May 25, 2017
GitHub

Bugfix: if an access token is granted, then revoked by the OAuth server, this update causes the client to delete the old access token and request a new one without dropping any requests.

v1.0.0
kamermanskamermans·9y ago·May 25, 2017
GitHub

Testing is complete on all Guzzle versions and PHP versions and there are no outstanding issues.

v0.9.2
kamermanskamermans·9y ago·May 24, 2017
GitHub

Fixed bug in the file persistence system

v0.9.1
kamermanskamermans·9y ago·May 24, 2017
GitHub

Added the Guzzle requirement to `composer.json` and released so packagist/composer can handle dependency management properly.

v0.9.0
kamermanskamermans·9y ago·May 24, 2017
GitHub

Initial commit after splitting back off from the Guzzle project. My aim is to keep this one, single package working for Guzzle 4, 5 and 6+