Overview

Packages

  • Service
    • Twitter

Classes

  • Horde_Service_Twitter
  • Horde_Service_Twitter_Account
  • Horde_Service_Twitter_Auth
  • Horde_Service_Twitter_Auth_Oauth
  • Horde_Service_Twitter_Exception
  • Horde_Service_Twitter_Request
  • Horde_Service_Twitter_Request_Oauth
  • Horde_Service_Twitter_Statuses
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Service_Twitter_Auth_Oauth

Horde_Service_Twitter_Auth class to abstract all auth related tasks

Basically implements Horde_Oauth_Client and passes the calls along to the protected oauth object.

Copyright 2009-2012 Horde LLC (http://www.horde.org/)

Horde_Service_Twitter_Auth
Extended by Horde_Service_Twitter_Auth_Oauth
Package: Service\Twitter
Category: Horde
License: BSD
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/Service/Twitter/Auth/Oauth.php
Methods summary
public
# __construct( Horde_OAuth_Consumer $oauth )
public string
# getUserAuthorizationUrl( Horde_Oauth_Token $requestToken )

Obtain the URL used to get an authorization token.

Obtain the URL used to get an authorization token.

Parameters

$requestToken
The request token

Returns

string
The Url
public
# setToken( Horde_OAuth_Token $token )

Set the access token

Set the access token

Parameters

$token
public Horde_Oauth_Token
# getAccessToken( Horde_Controller_Request_Http $request, string $requestSecret = null )

Obtain the access token. This is the token that should be persisted to storage.

Obtain the access token. This is the token that should be persisted to storage.

Parameters

$request
request object
$requestSecret
<p>The token secret returned by Twitter after the user authorizes the application.</p>

Returns

Horde_Oauth_Token

Throws

Horde_Service_Twitter_Exception
public Horde_OAuth_Token
# getRequestToken( array $params = array() )

Obtain the OAuth request token

Obtain the OAuth request token

Parameters

$params

Returns

Horde_OAuth_Token
The request token

Throws

Horde_Service_Twitter_Exception
Methods inherited from Horde_Service_Twitter_Auth
__get(), setTwitter()
API documentation generated by ApiGen