Definition at line 31 of file Oauth.php.
◆ clearHttpClient()
static clearHttpClient |
( |
| ) |
|
|
static |
Simple mechanism to delete the entire singleton HTTP Client instance which forces an new instantiation for subsequent requests.
- Returns
- void
Definition at line 86 of file Oauth.php.
88 self::$httpClient =
null;
◆ getHttpClient()
Return the singleton instance of the HTTP Client. Note that the instance is reset and cleared of previous parameters and Authorization header values.
- Returns
- Zend_Http_Client
Definition at line 69 of file Oauth.php.
71 if (!isset(self::$httpClient)) {
74 self::$httpClient->
setHeaders(
'Authorization',
null);
75 self::$httpClient->resetParameters();
setHeaders($name, $value=null)
◆ setHttpClient()
Allows the external environment to make Zend_Oauth use a specific Client instance.
- Parameters
-
- Returns
- void
Definition at line 57 of file Oauth.php.
◆ $httpClient
◆ DELETE
◆ GET
◆ HEAD
◆ OPTIONS
const OPTIONS = 'OPTIONS' |
◆ POST
◆ PUT
◆ REQUEST_SCHEME_HEADER
const REQUEST_SCHEME_HEADER = 'header' |
◆ REQUEST_SCHEME_POSTBODY
const REQUEST_SCHEME_POSTBODY = 'postbody' |
◆ REQUEST_SCHEME_QUERYSTRING
const REQUEST_SCHEME_QUERYSTRING = 'querystring' |
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Oauth.php