|
| execute () |
| Initiate a HTTP request to retrieve an Access Token.
|
|
| assembleParams () |
| Assemble all parameters for an OAuth Access Token request.
|
|
| getRequestSchemeHeaderClient (array $params) |
| Generate and return a HTTP Client configured for the Header Request Scheme specified by OAuth, for use in requesting an Access Token.
|
|
| getRequestSchemePostBodyClient (array $params) |
| Generate and return a HTTP Client configured for the POST Body Request Scheme specified by OAuth, for use in requesting an Access Token.
|
|
| getRequestSchemeQueryStringClient (array $params, $url) |
| Generate and return a HTTP Client configured for the Query String Request Scheme specified by OAuth, for use in requesting an Access Token.
|
|
| __construct (Zend_Oauth_Consumer $consumer, array $parameters=null, Zend_Oauth_Http_Utility $utility=null) |
| Constructor.
|
|
| setMethod ($method) |
| Set a preferred HTTP request method.
|
|
| getMethod () |
| Preferred HTTP request method accessor.
|
|
| setParameters (array $customServiceParameters) |
| Mutator to set an array of custom parameters for the HTTP request.
|
|
| getParameters () |
| Accessor for an array of custom parameters.
|
|
| getConsumer () |
| Return the Consumer instance in use.
|
|
| startRequestCycle (array $params) |
| Commence a request cycle where the current HTTP method and OAuth request scheme set an upper preferred HTTP request style and where failures generate a new HTTP request style further down the OAuth preference list for OAuth Request Schemes.
|
|
| getRequestSchemeQueryStringClient (array $params, $url) |
| Return an instance of Zend_Http_Client configured to use the Query String scheme for an OAuth driven HTTP request.
|
|
_cleanParamsOfIllegalCustomParameters |
( |
array |
$params | ) |
|
|
protected |
Access Token requests specifically may not contain non-OAuth parameters.
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.
- Parameters
-
- Returns
- array