Zend_Gdata_HttpClientGdata Http Client object.
Class to extend the generic Zend Http Client with the ability to perform secure AuthSub requests
Located in /Gdata/HttpClient.php (line 46)
Zend_Http_Client | --Zend_Gdata_HttpClient
array
filterHttpRequest
(string $method, string $url, [array $headers = array()], [string $body = null], [string $contentType = null])
void
setAuthSubPrivateKeyFile
(string $file, [string $passphrase = null], [bool $useIncludePath = false])
Inherited from Zend_Http_Client
Zend_Http_Client::$adapter
Zend_Http_Client::$auth
Zend_Http_Client::$config
Zend_Http_Client::$cookiejar
Zend_Http_Client::$enctype
Zend_Http_Client::$files
Zend_Http_Client::$headers
Zend_Http_Client::$last_request
Zend_Http_Client::$last_response
Zend_Http_Client::$method
Zend_Http_Client::$paramsGet
Zend_Http_Client::$paramsPost
Zend_Http_Client::$raw_post_data
Zend_Http_Client::$redirectCounter
Zend_Http_Client::$uri
Zend_Http_Client::$_fileInfoDb
filterHttpRequest (line 200)
Filters the HTTP requests being sent to add the Authorization header.
If both AuthSub and ClientLogin tokens are set, AuthSub takes precedence. If an AuthSub key is set, then secure AuthSub authentication is used, and the request is signed. Requests must be signed only with the private key corresponding to the public key registered with Google. If an AuthSub key is set, but openssl support is not enabled in the PHP installation, an exception is thrown.
filterHttpResponse (line 243)
Method for filtering the HTTP response, though no filtering is currently done.
getAuthSubPrivateKeyId (line 135)
Gets the openssl private key id
getAuthSubToken (line 144)
Gets the AuthSub token used for authentication
getClientLoginToken (line 164)
Gets the ClientLogin token used for authentication
setAuthSubPrivateKey (line 118)
Sets the PEM formatted private key to be used for secure AuthSub auth.
In order to call this method, openssl must be enabled in your PHP installation. Otherwise, a Zend_Gdata_App_InvalidArgumentException will be thrown.
setAuthSubPrivateKeyFile (line 95)
Sets the PEM formatted private key, as read from a file.
This method reads the file and then calls setAuthSubPrivateKey() with the file contents.
setAuthSubToken (line 154)
Sets the AuthSub token used for authentication
setClientLoginToken (line 174)
Sets the ClientLogin token used for authentication
Inherited From Zend_Http_Client
Zend_Http_Client::__construct()
Zend_Http_Client::encodeAuthHeader()
Zend_Http_Client::encodeFormData()
Zend_Http_Client::getCookieJar()
Zend_Http_Client::getHeader()
Zend_Http_Client::getLastRequest()
Zend_Http_Client::getLastResponse()
Zend_Http_Client::getRedirectionsCount()
Zend_Http_Client::getUri()
Zend_Http_Client::request()
Zend_Http_Client::resetParameters()
Zend_Http_Client::setAdapter()
Zend_Http_Client::setAuth()
Zend_Http_Client::setConfig()
Zend_Http_Client::setCookie()
Zend_Http_Client::setCookieJar()
Zend_Http_Client::setEncType()
Zend_Http_Client::setFileUpload()
Zend_Http_Client::setHeaders()
Zend_Http_Client::setMethod()
Zend_Http_Client::setParameterGet()
Zend_Http_Client::setParameterPost()
Zend_Http_Client::setRawData()
Zend_Http_Client::setUri()
Zend_Http_Client::_detectFileMimeType()
Zend_Http_Client::_getParametersRecursive()
Zend_Http_Client::_prepareBody()
Zend_Http_Client::_prepareHeaders()
Zend_Http_Client::_setParameter()
Inherited from Zend_Http_Client
Zend_Http_Client::AUTH_BASIC
Zend_Http_Client::CONNECT
Zend_Http_Client::CONTENT_LENGTH
Zend_Http_Client::CONTENT_TYPE
Zend_Http_Client::DELETE
Zend_Http_Client::ENC_FORMDATA
Zend_Http_Client::ENC_URLENCODED
Zend_Http_Client::GET
Zend_Http_Client::HEAD
Zend_Http_Client::HTTP_0
Zend_Http_Client::HTTP_1
Zend_Http_Client::OPTIONS
Zend_Http_Client::POST
Zend_Http_Client::PUT
Zend_Http_Client::TRACE
Documentation generated on Mon, 19 Jan 2009 19:03:02 +0300 by phpDocumentor 1.4.2