category | Zend |
---|---|
package | Zend_Oauth |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Oauth |
__call(string $method, array $args) : mixed
string
array
\Zend_Oauth_Exception |
if method does not exist in config object |
---|
mixed
__construct(array|\Zend_Config $options = null
) : void
array
\Zend_Config
clearHttpClient() : void
getAccessToken(array $queryData, \Zend_Oauth_Token_Request $token, string $httpMethod= null
, \Zend_Oauth_Http_AccessToken $request= null
) : \Zend_Oauth_Token_Access
array
GET data returned in user's redirect from Provider
string
\Zend_Oauth_Http_AccessToken
\Zend_Oauth_Exception |
on invalid authorization token, non-matching response authorization token, or unprovided authorization token |
---|
\Zend_Oauth_Token_Access
getHttpClient() : \Zend_Http_Client
\Zend_Http_Client
getLastAccessToken() : \Zend_Oauth_Token_Access
\Zend_Oauth_Token_Access
getLastRequestToken() : \Zend_Oauth_Token_Request
\Zend_Oauth_Token_Request
getRedirectUrl(null|array $customServiceParameters= null
, null|\Zend_Oauth_Token_Request $token= null
, null|\Zend_OAuth_Http_UserAuthorization $redirect= null
) : string
Once the user has authorized the application for access, they are redirected back to the application which can now exchange the previous Request Token for a fully authorized Access Token.
null
array
null
\Zend_Oauth_Token_Request
null
\Zend_OAuth_Http_UserAuthorization
string
getRequestToken(null|array $customServiceParameters= null
, null|string $httpMethod= null
, null|\Zend_Oauth_Http_RequestToken $request= null
) : \Zend_Oauth_Token_Request
null
array
Non-OAuth Provider-specified parameters
null
string
null
\Zend_Oauth_Http_RequestToken
\Zend_Oauth_Token_Request
getToken() : \Zend_Oauth_Token_Access
\Zend_Oauth_Token_Access
redirect(null|array $customServiceParameters= null
, null|\Zend_Oauth_Token_Request $token= null
, null|\Zend_Oauth_Http_UserAuthorization $request= null
) : void
Sends headers and exit()s on completion.
null
array
null
\Zend_Oauth_Token_Request
null
\Zend_Oauth_Http_UserAuthorization
setHttpClient(\Zend_Http_Client $httpClient) : void
\Zend_Http_Client
$switcheroo
false
$_accessToken : \Zend_Oauth_Token_Access
null
$_config : \Zend_Oauth_Config
null
$_requestToken : \Zend_Oauth_Token_Request
null
$httpClient : \Zend_Http_Client
null
DELETE = 'DELETE'
GET = 'GET'
HEAD = 'HEAD'
OPTIONS = 'OPTIONS'
POST = 'POST'
PUT = 'PUT'
REQUEST_SCHEME_HEADER = 'header'
REQUEST_SCHEME_POSTBODY = 'postbody'
REQUEST_SCHEME_QUERYSTRING = 'querystring'