Lines Matching refs:http
30 ClientInterface $http, argument
43 return $this->attachCredentialsCache($http, $credentials, $tokenCallback);
47 ClientInterface $http, argument
54 $authHttp = $this->createAuthHttp($http);
62 $config = $http->getConfig();
66 $http = new Client($config);
68 return $http;
71 public function attachToken(ClientInterface $http, array $token, array $scopes) argument
84 $config = $http->getConfig();
88 $http = new Client($config);
90 return $http;
93 public function attachKey(ClientInterface $http, $key) argument
97 $config = $http->getConfig();
101 $http = new Client($config);
103 return $http;
106 private function createAuthHttp(ClientInterface $http) argument
110 'base_uri' => $http->getConfig('base_uri'),
112 'verify' => $http->getConfig('verify'),
113 'proxy' => $http->getConfig('proxy'),