$_config
$_config :
OAuth consumer class
__construct(array $config) : \Horde_Oauth_Consumer
Const'r for consumer.
array | $config | Configuration values: 'key' - Consumer key 'secret' - Consumer secret 'requestTokenUrl' - The request token URL 'authorizeTokenUrl' - The authorize URL 'accessTokenUrl' = To obtain an access token 'signatureMethod - Horde_Oauth_SignatureMethod object |
getRequestToken(array $params = array()) : \Horde_Oauth_Token
Obtain an unprivileged request token
array | $params | Parameter array |
The oauth request token
getUserAuthorizationUrl(\Horde_Oauth_Token $token) : string
Get the user authorization url used to request user authorization
\Horde_Oauth_Token | $token | the oauth request token |
The user authorization url string
getAccessToken(\Horde_Oauth_Token $token, array $params = array()) : \unknown_type
Obtain an access token from a request token
\Horde_Oauth_Token | $token | Open auth token containing the oauth_token returned from provider after authorization and the token secret returned with the original request token. |
array | $params | Any additional parameters for this request |