class Google_AuthHandler_Guzzle7AuthHandler extends Google_AuthHandler_Guzzle6AuthHandler (View source)

This supports Guzzle 7

Properties

protected $cache from  Google_AuthHandler_Guzzle6AuthHandler
protected $cacheConfig from  Google_AuthHandler_Guzzle6AuthHandler

Methods

__construct(CacheItemPoolInterface $cache = null, array $cacheConfig = [])

No description

attachCredentials(ClientInterface $http, CredentialsLoader $credentials, callable $tokenCallback = null)

No description

attachToken(ClientInterface $http, array $token, array $scopes)

No description

attachKey(ClientInterface $http, $key)

No description

Details

__construct(CacheItemPoolInterface $cache = null, array $cacheConfig = [])

No description

Parameters

CacheItemPoolInterface $cache
array $cacheConfig

attachCredentials(ClientInterface $http, CredentialsLoader $credentials, callable $tokenCallback = null)

No description

Parameters

ClientInterface $http
CredentialsLoader $credentials
callable $tokenCallback

attachToken(ClientInterface $http, array $token, array $scopes)

No description

Parameters

ClientInterface $http
array $token
array $scopes

attachKey(ClientInterface $http, $key)

No description

Parameters

ClientInterface $http
$key