pierreminiggio/google-api-get-access-token-from-refresh-token

There is no license information available for the latest version (1.1.0) of this package.

Get Google API Access Token using your Refresh Token

1.1.0 2021-04-20 19:31 UTC

This package is auto-updated.

Last update: 2024-11-08 18:05:41 UTC


README

Install using composer :

composer require pierreminiggio/google-api-get-access-token-from-refresh-token
use PierreMiniggio\GoogleTokenRefresher\AccessTokenProvider;

$provider = new AccessTokenProvider();
$accessToken = $provider->get('yourClientId', 'yourClientSecret', 'yourRefreshToken');