class Guzzle5AuthHandler (View source)

Properties

protected $cache
protected $cacheConfig

Methods

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

No description

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

No description

attachCredentialsCache(ClientInterface $http, FetchAuthTokenCache $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

attachCredentialsCache(ClientInterface $http, FetchAuthTokenCache $credentials, callable $tokenCallback = null)

No description

Parameters

ClientInterface $http
FetchAuthTokenCache $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