category Zend
package Zend_Oauth
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Simple mechanism to delete the entire singleton HTTP Client instance which forces an new instantiation for subsequent requests.

clearHttpClient() : void
Static

Return the singleton instance of the HTTP Client. Note that the instance is reset and cleared of previous parameters and Authorization header values.

getHttpClient() : \Zend_Http_Client
Static

Returns

\Zend_Http_Client

Allows the external environment to make Zend_Oauth use a specific Client instance.

setHttpClient(\Zend_Http_Client $httpClient) : void
Static

Parameters

$httpClient

\Zend_Http_Client

 Properties

 

Singleton instance if required of the HTTP client

$httpClient : \Zend_Http_Client

Default

null
Static

 Constants

 

DELETE

DELETE = 'DELETE' 
 

GET

GET = 'GET' 
 

HEAD

HEAD = 'HEAD' 
 

OPTIONS

OPTIONS = 'OPTIONS' 
 

POST

POST = 'POST' 
 

PUT

PUT = 'PUT' 
 

REQUEST_SCHEME_HEADER

REQUEST_SCHEME_HEADER = 'header' 
 

REQUEST_SCHEME_POSTBODY

REQUEST_SCHEME_POSTBODY = 'postbody' 
 

REQUEST_SCHEME_QUERYSTRING

REQUEST_SCHEME_QUERYSTRING = 'querystring'