Home
last modified time | relevance | path

Searched refs:extraHeaders (Results 1 – 16 of 16) sorted by relevance

/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth1/Service/
H A DFlickr.php78 public function request($path, $method = 'GET', $body = null, array $extraHeaders = array()) argument
92 $extraHeaders = array_merge($this->getExtraApiHeaders(), $extraHeaders);
96 $headers = array_merge($authorizationHeader, $extraHeaders);
101 public function requestRest($path, $method = 'GET', $body = null, array $extraHeaders = array()) argument
103 return $this->request($path, $method, $body, $extraHeaders);
106 public function requestXmlrpc($path, $method = 'GET', $body = null, array $extraHeaders = array()) argument
110 return $this->request($path, $method, $body, $extraHeaders);
113 public function requestSoap($path, $method = 'GET', $body = null, array $extraHeaders = array()) argument
117 return $this->request($path, $method, $body, $extraHeaders);
120 requestJson($path, $method = 'GET', $body = null, array $extraHeaders = array()) global() argument
127 requestPhp($path, $method = 'GET', $body = null, array $extraHeaders = array()) global() argument
[all...]
H A DQuickBooks.php115 array $extraHeaders = array() argument
117 $extraHeaders['Accept'] = 'application/json';
118 return parent::request($path, $method, $body, $extraHeaders);
H A DAbstractService.php124 * @param array $extraHeaders Extra headers if applicable.
129 public function request($path, $method = 'GET', $body = null, array $extraHeaders = array()) argument
135 $extraHeaders = array_merge($this->getExtraApiHeaders(), $extraHeaders);
139 $headers = array_merge($authorizationHeader, $extraHeaders);
/plugin/evesso/phpoauthlib/src/OAuth/Common/Http/Client/
H A DStreamClient.php19 * @param array $extraHeaders
30 array $extraHeaders = array(), argument
36 $this->normalizeHeaders($extraHeaders);
42 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
43 $extraHeaders['Content-Type'] = 'Content-Type: application/x-www-form-urlencoded';
52 $extraHeaders['Host'] = $host;
53 $extraHeaders['Connection'] = 'Connection: close';
58 $extraHeaders['Content-length'] = 'Content-length: '.strlen($requestBody);
60 $context = $this->generateStreamContext($requestBody, $extraHeaders, $method);
H A DCurlClient.php56 * @param array $extraHeaders
67 array $extraHeaders = array(), argument
73 $this->normalizeHeaders($extraHeaders);
79 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
80 $extraHeaders['Content-Type'] = 'Content-Type: application/x-www-form-urlencoded';
83 $extraHeaders['Host'] = 'Host: '.$endpoint->getHost();
84 $extraHeaders['Connection'] = 'Connection: close';
114 curl_setopt($ch, CURLOPT_HTTPHEADER, $extraHeaders);
H A DClientInterface.php19 * @param array $extraHeaders
29 array $extraHeaders = array(), argument
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/Common/Http/Client/
H A DStreamClient.php19 * @param array $extraHeaders
30 array $extraHeaders = array(), argument
36 $this->normalizeHeaders($extraHeaders);
42 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
43 $extraHeaders['Content-Type'] = 'Content-Type: application/x-www-form-urlencoded';
52 $extraHeaders['Host'] = $host;
53 $extraHeaders['Connection'] = 'Connection: close';
58 $extraHeaders['Content-length'] = 'Content-length: '.strlen($requestBody);
60 $context = $this->generateStreamContext($requestBody, $extraHeaders, $method);
H A DCurlClient.php56 * @param array $extraHeaders
67 array $extraHeaders = array(), argument
73 $this->normalizeHeaders($extraHeaders);
79 if (!isset($extraHeaders['Content-Type']) && $method === 'POST' && is_array($requestBody)) {
80 $extraHeaders['Content-Type'] = 'Content-Type: application/x-www-form-urlencoded';
83 $extraHeaders['Host'] = 'Host: '.$endpoint->getHost();
84 $extraHeaders['Connection'] = 'Connection: close';
114 curl_setopt($ch, CURLOPT_HTTPHEADER, $extraHeaders);
H A DClientInterface.php19 * @param array $extraHeaders
29 array $extraHeaders = array(), argument
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/
H A DAbstractService.php133 * @param array $extraHeaders Extra headers if applicable. These will override service-specific
138 public function request($path, $method = 'GET', $body = null, array $extraHeaders = []) argument
158 $extraHeaders = array_merge(['Authorization' => 'OAuth ' . $token->getAccessToken()], $extraHeaders);
168 $extraHeaders = array_merge(['Authorization' => 'Bearer ' . $token->getAccessToken()], $extraHeaders);
170 $extraHeaders = array_merge(array('Authorization' => 'token ' . $token->getAccessToken()), $extraHeaders);
173 $extraHeaders = array_merge($this->getExtraApiHeaders(), $extraHeaders);
[all...]
H A DMailchimp.php83 public function request($path, $method = 'GET', $body = null, array $extraHeaders = array()) argument
89 return parent::request($path, $method, $body, $extraHeaders);
/plugin/evesso/phpoauthlib/src/OAuth/OAuth2/Service/
H A DAbstractService.php133 …* @param array $extraHeaders Extra headers if applicable. These will override servic…
141 public function request($path, $method = 'GET', $body = null, array $extraHeaders = array()) argument
161 …$extraHeaders = array_merge(array('Authorization' => 'OAuth ' . $token->getAccessToken()), $extraH…
169 …$extraHeaders = array_merge(array('Authorization' => 'Bearer ' . $token->getAccessToken()), $extra…
172 $extraHeaders = array_merge($this->getExtraApiHeaders(), $extraHeaders);
174 return $this->httpClient->retrieveResponse($uri, $body, $extraHeaders, $method);
/plugin/evesso/classes/
H A DoAuthHTTPClient.php22 * @param array $extraHeaders
32 array $extraHeaders = array(), argument
36 $http->headers = array_merge($http->headers, $extraHeaders);
/plugin/evesso/phpoauthlib/src/OAuth/Common/Service/
H A DServiceInterface.php20 …* @param array $extraHeaders Extra headers if applicable. These will override servic…
25 public function request($path, $method = 'GET', $body = null, array $extraHeaders = array()); argument
/plugin/oauth/vendor/lusitanian/oauth/src/OAuth/Common/Service/
H A DServiceInterface.php20 * @param array $extraHeaders Extra headers if applicable. These will override service-specific
25 public function request($path, $method = 'GET', $body = null, array $extraHeaders = array()); argument
/plugin/oauth/
H A DHTTPClient.php18 array $extraHeaders = [],
23 $http->headers = array_merge($http->headers, $extraHeaders);
20 retrieveResponse(UriInterface $endpoint, $requestBody, array $extraHeaders = array(), $method = 'POST') global() argument