Guzzle6AuthHandler
in package
This supports Guzzle 6
Table of Contents
Properties
- $cache : mixed
- $cacheConfig : mixed
Methods
- __construct() : mixed
- attachCredentials() : mixed
- attachCredentialsCache() : mixed
- attachKey() : mixed
- attachToken() : mixed
- createAuthHttp() : mixed
Properties
$cache
protected
mixed
$cache
$cacheConfig
protected
mixed
$cacheConfig
Methods
__construct()
public
__construct([CacheItemPoolInterface $cache = null ][, array<string|int, mixed> $cacheConfig = [] ]) : mixed
Parameters
- $cache : CacheItemPoolInterface = null
- $cacheConfig : array<string|int, mixed> = []
attachCredentials()
public
attachCredentials(ClientInterface $http, CredentialsLoader $credentials[, callable $tokenCallback = null ]) : mixed
Parameters
- $http : ClientInterface
- $credentials : CredentialsLoader
- $tokenCallback : callable = null
attachCredentialsCache()
public
attachCredentialsCache(ClientInterface $http, FetchAuthTokenCache $credentials[, callable $tokenCallback = null ]) : mixed
Parameters
- $http : ClientInterface
- $credentials : FetchAuthTokenCache
- $tokenCallback : callable = null
attachKey()
public
attachKey(ClientInterface $http, mixed $key) : mixed
Parameters
- $http : ClientInterface
- $key : mixed
attachToken()
public
attachToken(ClientInterface $http, array<string|int, mixed> $token, array<string|int, mixed> $scopes) : mixed
Parameters
- $http : ClientInterface
- $token : array<string|int, mixed>
- $scopes : array<string|int, mixed>
createAuthHttp()
private
createAuthHttp(ClientInterface $http) : mixed
Parameters
- $http : ClientInterface