\Google_AuthHandler_Guzzle5AuthHandler

Summary

Methods
Properties
Constants
__construct()
attachCredentials()
attachToken()
attachKey()
No public properties found
No constants found
No protected methods found
$cache
$cacheConfig
N/A
createAuthHttp()
No private properties found
N/A

Properties

$cache

$cache : 

Type

$cacheConfig

$cacheConfig : 

Type

Methods

__construct()

__construct(\Psr\Cache\CacheItemPoolInterface  $cache = null, array  $cacheConfig = array()) 

Parameters

\Psr\Cache\CacheItemPoolInterface $cache
array $cacheConfig

attachCredentials()

attachCredentials(\GuzzleHttp\ClientInterface  $http, \Google\Auth\CredentialsLoader  $credentials, callable  $tokenCallback = null) 

Parameters

\GuzzleHttp\ClientInterface $http
\Google\Auth\CredentialsLoader $credentials
callable $tokenCallback

attachToken()

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

Parameters

\GuzzleHttp\ClientInterface $http
array $token
array $scopes

attachKey()

attachKey(\GuzzleHttp\ClientInterface  $http,   $key) 

Parameters

\GuzzleHttp\ClientInterface $http
$key

createAuthHttp()

createAuthHttp(\GuzzleHttp\ClientInterface  $http) 

Parameters

\GuzzleHttp\ClientInterface $http