class Guzzle7AuthHandler extends Guzzle6AuthHandler (View source)

This supports Guzzle 7

Properties

protected $cache from  Guzzle6AuthHandler
protected $cacheConfig from  Guzzle6AuthHandler

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