Download the PHP package sainsburys/guzzle-oauth2-plugin without Composer
On this page you can find all versions of the php package sainsburys/guzzle-oauth2-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sainsburys/guzzle-oauth2-plugin
More information about sainsburys/guzzle-oauth2-plugin
Files in sainsburys/guzzle-oauth2-plugin
Download sainsburys/guzzle-oauth2-plugin
More information about sainsburys/guzzle-oauth2-plugin
Files in sainsburys/guzzle-oauth2-plugin
Vendor sainsburys
Package guzzle-oauth2-plugin
Short Description An OAuth2 middleware for Guzzle
License MIT
Package guzzle-oauth2-plugin
Short Description An OAuth2 middleware for Guzzle
License MIT
Please rate this library. Is it a good library?
Informations about the package guzzle-oauth2-plugin
Sainsbury's guzzle-oauth2-plugin
Provides an OAuth2 plugin (middleware) for Guzzle.
Version 3.x (on the master
branch) is intended for Guzzle 6:
Version 2.x (on the release/2.0
branch) is intended for Guzzle 5:
Version 1.x (on the release/1.0
branch) is intended for Guzzle 3 [Unmaintained]:
Features
- Acquires access tokens via one of the supported grant types (code, client credentials, user credentials, refresh token). Or you can set an access token yourself.
- Supports refresh tokens (stores them and uses them to get new access tokens).
- Handles token expiration (acquires new tokens and retries failed requests).
Running the tests
First make sure you have all the dependencies in place by running composer install --prefer-dist
, then simply run .vendor/bin/phpunit
.
Example
Example using Symfony DI config
All versions of guzzle-oauth2-plugin with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
guzzlehttp/guzzle Version ^6.0|^7.0
firebase/php-jwt Version ^3.0|^4.0|^5.0|^6.0
guzzlehttp/guzzle Version ^6.0|^7.0
firebase/php-jwt Version ^3.0|^4.0|^5.0|^6.0
The package sainsburys/guzzle-oauth2-plugin contains the following files
Loading the files please wait ....