class Guzzle6AuthHandler (View source)

This supports Guzzle 6

Properties

protected $cache
protected $cacheConfig

Methods

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

No description

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

No description

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

No description

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

No description

attachKey(ClientInterface $http, $key)

No description

Details

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

No description

Parameters

CacheItemPoolInterface|null $cache
array $cacheConfig

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

No description

Parameters

ClientInterface $http
CredentialsLoader $credentials
callable|null $tokenCallback

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

No description

Parameters

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