Свойство | Type | Description | |
---|---|---|---|
$_config |
Méthode | Description | |
---|---|---|
__construct ( array $config ) : Horde_Oauth_Consumer | Const'r for consumer. | |
__get ( $name ) | ||
getAccessToken ( Horde_Oauth_Token $token, array $params = [] ) : unknown_type | Obtain an access token from a request token | |
getRequestToken ( array $params = [] ) : Horde_Oauth_Token | Obtain an unprivileged request token | |
getUserAuthorizationUrl ( Horde_Oauth_Token $token ) : string | Get the user authorization url used to request user authorization |
public __construct ( array $config ) : Horde_Oauth_Consumer | ||
$config | array | 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 |
Résultat | Horde_Oauth_Consumer |
public getAccessToken ( Horde_Oauth_Token $token, array $params = [] ) : unknown_type | ||
$token | Horde_Oauth_Token | Open auth token containing the oauth_token returned from provider after authorization and the token secret returned with the original request token. |
$params | array | Any additional parameters for this request |
Résultat | unknown_type |
public getRequestToken ( array $params = [] ) : Horde_Oauth_Token | ||
$params | array | Parameter array |
Résultat | Horde_Oauth_Token | The oauth request token |
public getUserAuthorizationUrl ( Horde_Oauth_Token $token ) : string | ||
$token | Horde_Oauth_Token | the oauth request token |
Résultat | string | The user authorization url string |