PHP Класс Horde_Service_Twitter_Auth_Oauth, horde

Basically implements Horde_Oauth_Client and passes the calls along to the protected oauth object. Copyright 2009-2016 Horde LLC (http://www.horde.org/)
Автор: Michael J. Rubinsky ([email protected])
Наследование: extends Horde_Service_Twitter_Auth
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_token Horde_OAuth_Token

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

public __construct ( Horde_OAuth_Consumer $oauth )
$oauth Horde_OAuth_Consumer

getAccessToken() публичный Метод

Obtain the access token. This is the token that should be persisted to storage.
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.
Результат Horde_Oauth_Token

getRequestToken() публичный Метод

Obtain the OAuth request token
public getRequestToken ( array $params = [] ) : Horde_OAuth_Token
$params array
Результат Horde_OAuth_Token The request token

getUserAuthorizationUrl() публичный Метод

Obtain the URL used to get an authorization token.
public getUserAuthorizationUrl ( Horde_Oauth_Token $requestToken ) : string
$requestToken Horde_Oauth_Token The request token
Результат string The Url

setToken() публичный Метод

Set the access token
public setToken ( Horde_OAuth_Token $token )
$token Horde_OAuth_Token

Описание свойств

$_token защищенное свойство

protected Horde_OAuth_Token $_token
Результат Horde_OAuth_Token