Property | Type | Description | |
---|---|---|---|
$_token | Horde_OAuth_Token |
Method | Description | |
---|---|---|
__construct ( Horde_OAuth_Consumer $oauth ) | ||
getAccessToken ( Horde_Controller_Request_Http $request, string $requestSecret = null ) : Horde_Oauth_Token | Obtain the access token. This is the token that should be persisted to storage. | |
getRequestToken ( array $params = [] ) : Horde_OAuth_Token | Obtain the OAuth request token | |
getUserAuthorizationUrl ( Horde_Oauth_Token $requestToken ) : string | Obtain the URL used to get an authorization token. | |
setToken ( Horde_OAuth_Token $token ) | Set the access token |
public __construct ( Horde_OAuth_Consumer $oauth ) | ||
$oauth | Horde_OAuth_Consumer |
public getAccessToken ( Horde_Controller_Request_Http $request, string $requestSecret = null ) : Horde_Oauth_Token | ||
$request | Horde_Controller_Request_Http | |
$requestSecret | string | The token secret returned by Twitter after the user authorizes the application. |
return | Horde_Oauth_Token |
public getRequestToken ( array $params = [] ) : Horde_OAuth_Token | ||
$params | array | |
return | Horde_OAuth_Token | The request token |
public getUserAuthorizationUrl ( Horde_Oauth_Token $requestToken ) : string | ||
$requestToken | Horde_Oauth_Token | The request token |
return | string | The Url |
public setToken ( Horde_OAuth_Token $token ) | ||
$token | Horde_OAuth_Token |