category | Zend |
---|---|
package | Zend_Oauth |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Oauth_Http |
__construct(\Zend_Oauth_Consumer $consumer, null|array $parameters= null
, null|\Zend_Oauth_Http_Utility $utility= null
) : void
\Zend_Oauth_Consumer
null
array
null
\Zend_Oauth_Http_Utility
assembleParams() : array
array
execute() : \Zend_Oauth_Token_Access
\Zend_Oauth_Token_Access
getConsumer() : \Zend_Oauth_Consumer
\Zend_Oauth_Consumer
getMethod() : string
string
getParameters() : array
array
getRequestSchemeHeaderClient(array $params) : \Zend_Http_Client
array
\Zend_Http_Client
getRequestSchemePostBodyClient(array $params) : \Zend_Http_Client
array
\Zend_Http_Client
getRequestSchemeQueryStringClient(array $params, string $url) : \Zend_Http_Client
inherited_from | \Zend_Oauth_Http::getRequestSchemeQueryStringClient() |
---|
array
string
\Zend_Http_Client
getRequestSchemeQueryStringClient(array $params, string $url) : \Zend_Http_Client
array
string
\Zend_Http_Client
setMethod(string $method) : \Zend_Oauth_Http
string
\Zend_Oauth_Http
setParameters(array $customServiceParameters) : \Zend_Oauth_Http
array
\Zend_Oauth_Http
startRequestCycle(array $params) : \Zend_Http_Response
On success, return the Request object that results for processing.
todo | Remove cycling?; Replace with upfront do-or-die configuration |
---|
array
\Zend_Oauth_Exception |
on HTTP request errors |
---|
\Zend_Http_Response
_assessRequestAttempt(\Zend_Http_Response $response = null
) : void
\Zend_Oauth_Exception |
if unable to retrieve valid token response |
---|
_attemptRequest(array $params) : \Zend_Http_Response
array
\Zend_Http_Response
_cleanParamsOfIllegalCustomParameters(array $params) : array
So these should be striped out and excluded. Detection is easy since specified OAuth parameters start with "oauth", Extension params start with "xouth", and no other parameters should use these prefixes.
xouth params are not currently allowable.
array
array
_toAuthorizationHeader(array $params, string $realm = null
) : string
array
string
string
$_consumer : string
null
$_httpClient : \Zend_Http_Client
null
$_httpUtility : \Zend_Oauth_Http_Utility
null
$_parameters : array
array()
$_preferredRequestMethod : string
\Zend_Oauth::POST
$_preferredRequestScheme : string
null