Zend Framework  1.12
Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
Zend_Oauth Class Reference

Static Public Member Functions

static setHttpClient (Zend_Http_Client $httpClient)
 Allows the external environment to make Zend_Oauth use a specific Client instance.
 
static getHttpClient ()
 Return the singleton instance of the HTTP Client.
 
static clearHttpClient ()
 Simple mechanism to delete the entire singleton HTTP Client instance which forces an new instantiation for subsequent requests.
 

Public Attributes

const REQUEST_SCHEME_HEADER = 'header'
 
const REQUEST_SCHEME_POSTBODY = 'postbody'
 
const REQUEST_SCHEME_QUERYSTRING = 'querystring'
 
const GET = 'GET'
 
const POST = 'POST'
 
const PUT = 'PUT'
 
const DELETE = 'DELETE'
 
const HEAD = 'HEAD'
 
const OPTIONS = 'OPTIONS'
 

Static Protected Attributes

static $httpClient = null
 

Member Function Documentation

static clearHttpClient ( )
static

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

Returns
void
static getHttpClient ( )
static

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
static setHttpClient ( Zend_Http_Client  $httpClient)
static

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

Parameters
Zend_Http_Client$httpClient
Returns
void

Member Data Documentation

$httpClient = null
staticprotected
const DELETE = 'DELETE'
const GET = 'GET'
const HEAD = 'HEAD'
const OPTIONS = 'OPTIONS'
const POST = 'POST'
const PUT = 'PUT'
const REQUEST_SCHEME_HEADER = 'header'
const REQUEST_SCHEME_POSTBODY = 'postbody'
const REQUEST_SCHEME_QUERYSTRING = 'querystring'