API Documentation

Oauth.php

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Oauth  
version
$Id: Oauth.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Oauth

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

Constants

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

Properties

Propertyprotected\Zend_Http_Client  $httpClient= 'null'
static

Singleton instance if required of the HTTP client

Default valuenullDetails
Type
\Zend_Http_Client

Methods

methodpublicclearHttpClient( ) : void
static

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

methodpublicgetHttpClient( ) : \Zend_Http_Client
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
Type Description
\Zend_Http_Client
methodpublicsetHttpClient( \Zend_Http_Client $httpClient ) : void
static

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

Parameters
Name Type Description
$httpClient \Zend_Http_Client
Documentation was generated by DocBlox 0.13.3.