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!

MIT License

Downloads
4.1M
Stars
138
Committers
16

Bot releases are visible (Hide)

guzzle-oauth2-subscriber - v1.1.0 Latest Release

Published by kamermans 6 months ago

PHP Minimum Version

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

What's Changed

New Contributors

Full Changelog: https://github.com/kamermans/guzzle-oauth2-subscriber/compare/v1.0.13...v1.1.0

guzzle-oauth2-subscriber - v1.0.13

Published by kamermans over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/kamermans/guzzle-oauth2-subscriber/compare/v1.0.12...v1.0.13

guzzle-oauth2-subscriber - v1.0.12

Published by kamermans about 2 years ago

  • PHPUnit compatibility fixes
  • Docker test runner updates
  • Better return type hinting
guzzle-oauth2-subscriber - v1.0.11

Published by kamermans about 3 years ago

  • Exclude test files / shims from package to fix errors in PHPStorm
guzzle-oauth2-subscriber - v1.0.10

Published by kamermans over 3 years ago

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

guzzle-oauth2-subscriber - v1.0.9

Published by kamermans over 3 years ago

Added support for audience parameter, thanks @fabiang!

guzzle-oauth2-subscriber - v1.0.8

Published by kamermans almost 4 years ago

  • Added the ability to specify a custom token factory (thanks @thiakil!)
guzzle-oauth2-subscriber - v1.0.7

Published by kamermans about 4 years ago

  • Added support for Guzzle 7 (thanks @lasselehtinen!)
  • Improved testing matrix (combinations of Guzzle and PHP versions)
guzzle-oauth2-subscriber - v1.0.6

Published by kamermans over 5 years ago

Updates:

  • 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
guzzle-oauth2-subscriber - v1.0.5

Published by kamermans about 6 years ago

This release includes:

  • Support for PSR-16: Common Interface for Caching Libraries 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.
guzzle-oauth2-subscriber - v1.0.5-beta.1

Published by kamermans over 6 years ago

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.

guzzle-oauth2-subscriber - v1.0.4

Published by kamermans almost 7 years ago

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.

guzzle-oauth2-subscriber - v1.0.3

Published by kamermans about 7 years ago

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

guzzle-oauth2-subscriber - v1.0.2

Published by kamermans about 7 years ago

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

guzzle-oauth2-subscriber - v1.0.1

Published by kamermans over 7 years ago

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.

guzzle-oauth2-subscriber - v1.0.0

Published by kamermans over 7 years ago

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

guzzle-oauth2-subscriber - v0.9.2

Published by kamermans over 7 years ago

Fixed bug in the file persistence system

guzzle-oauth2-subscriber - v0.9.1

Published by kamermans over 7 years ago

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

guzzle-oauth2-subscriber - v0.9.0

Published by kamermans over 7 years ago

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+