Download the PHP package jwilsson/auto-refresh-oauth2-token-plugin without Composer
On this page you can find all versions of the php package jwilsson/auto-refresh-oauth2-token-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jwilsson/auto-refresh-oauth2-token-plugin
More information about jwilsson/auto-refresh-oauth2-token-plugin
Files in jwilsson/auto-refresh-oauth2-token-plugin
Download jwilsson/auto-refresh-oauth2-token-plugin
More information about jwilsson/auto-refresh-oauth2-token-plugin
Files in jwilsson/auto-refresh-oauth2-token-plugin
Vendor jwilsson
Package auto-refresh-oauth2-token-plugin
Short Description HTTPlug plugin to automatically refresh expired OAuth2 access tokens.
License MIT
Package auto-refresh-oauth2-token-plugin
Short Description HTTPlug plugin to automatically refresh expired OAuth2 access tokens.
License MIT
Please rate this library. Is it a good library?
Informations about the package auto-refresh-oauth2-token-plugin
PHP AutoRefreshOAuth2TokenPlugin
A HTTPlug plugin to automatically refresh expired OAuth2 access tokens.
Requirements
- PHP 8.2 or later.
- jwilsson/oauth2-client library.
Installation
Via Composer:
Usage
This assumes you have an instantiated Refresh Token grant and Token object from the jwilsson/oauth2-client library. A full Token object complete with access token, refresh token, and expiry information is expected.
Options
threshold
- Threshold in seconds for how close to the token's expiry time it should be considered expired. Default is 300 (5 minutes).
All versions of auto-refresh-oauth2-token-plugin with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
jwilsson/oauth2-client Version ^4.0
php-http/client-common Version ^2.3
php-http/message Version ^1.11
php-http/promise Version ^1.1
psr/http-message Version ^2.0
jwilsson/oauth2-client Version ^4.0
php-http/client-common Version ^2.3
php-http/message Version ^1.11
php-http/promise Version ^1.1
psr/http-message Version ^2.0
The package jwilsson/auto-refresh-oauth2-token-plugin contains the following files
Loading the files please wait ....