Class OauthPlugin
OAuth signing plugin
- Guzzle\Plugin\Oauth\OauthPlugin implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Namespace: Guzzle\Plugin\Oauth
Link: http://oauth.net/core/1.0/#rfc.section.9.1.1
Located at Guzzle/Plugin/Oauth/OauthPlugin.php
Link: http://oauth.net/core/1.0/#rfc.section.9.1.1
Located at Guzzle/Plugin/Oauth/OauthPlugin.php
public
|
|
public static
array
|
|
public
array
|
|
public
string
|
#
getSignature(
Calculate signature for request |
public
string
|
#
getStringToSign(
Calculate string to sign |
public
array
|
#
getParamsToSign(
Parameters sorted and filtered in order to properly sign a request |
public
boolean
|
#
shouldPostFieldsBeSigned( mixed $request )
Decide whether the post fields should be added to the base string that Oauth signs. This implementation is correct. Non-conformant APIs may require that this method be overwritten e.g. the Flickr API incorrectly adds the post fields when the Content-Type is 'application/x-www-form-urlencoded' |
public
string
|
#
generateNonce(
Returns a Nonce Based on the unique id and URL. This will allow for multiple requests in parallel with the same exact timestamp to use separate nonce's. |
public
integer
|
|
protected
array
|
#
prepareParameters( array $data )
Convert booleans to strings, removed unset parameters, and sorts the array |
protected
|
$config |
|
#
Configuration settings |