Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=null) | |
Constructor; create a new object with an optional array|Zend_Config instance containing initialising options. | |
setOptions (array $options) | |
Parse option array or Zend_Config instance and setup options using their relevant mutators. | |
setConsumerKey ($key) | |
Set consumer key. | |
getConsumerKey () | |
Get consumer key. | |
setConsumerSecret ($secret) | |
Set consumer secret. | |
getConsumerSecret () | |
Get consumer secret. | |
setSignatureMethod ($method) | |
Set signature method. | |
getSignatureMethod () | |
Get signature method. | |
setRequestScheme ($scheme) | |
Set request scheme. | |
getRequestScheme () | |
Get request scheme. | |
setVersion ($version) | |
Set version. | |
getVersion () | |
Get version. | |
setCallbackUrl ($url) | |
Set callback URL. | |
getCallbackUrl () | |
Get callback URL. | |
setSiteUrl ($url) | |
Set site URL. | |
getSiteUrl () | |
Get site URL. | |
setRequestTokenUrl ($url) | |
Set request token URL. | |
getRequestTokenUrl () | |
Get request token URL. | |
setAccessTokenUrl ($url) | |
Set access token URL. | |
getAccessTokenUrl () | |
Get access token URL. | |
setUserAuthorizationUrl ($url) | |
Set user authorization URL. | |
setAuthorizeUrl ($url) | |
Set authorization URL. | |
getUserAuthorizationUrl () | |
Get user authorization URL. | |
getAuthorizeUrl () | |
Get authorization URL. | |
setRequestMethod ($method) | |
Set request method. | |
getRequestMethod () | |
Get request method. | |
setRsaPublicKey (Zend_Crypt_Rsa_Key_Public $key) | |
Set RSA public key. | |
getRsaPublicKey () | |
Get RSA public key. | |
setRsaPrivateKey (Zend_Crypt_Rsa_Key_Private $key) | |
Set RSA private key. | |
getRsaPrivateKey () | |
Get RSA private key. | |
setToken (Zend_Oauth_Token $token) | |
Set OAuth token. | |
getToken () | |
Get OAuth token. | |
setRealm ($realm) | |
Set OAuth realm. | |
getRealm () | |
Get OAuth realm. | |
Protected Attributes | |
$_signatureMethod = 'HMAC-SHA1' | |
$_requestScheme = Zend_Oauth::REQUEST_SCHEME_HEADER | |
$_requestMethod = Zend_Oauth::POST | |
$_version = '1.0' | |
$_callbackUrl = null | |
$_siteUrl = null | |
$_requestTokenUrl = null | |
$_accessTokenUrl = null | |
$_authorizeUrl = null | |
$_consumerKey = null | |
$_consumerSecret = null | |
$_rsaPrivateKey = null | |
$_rsaPublicKey = null | |
$_token = null | |
$_realm = null | |
__construct | ( | $options = null | ) |
Constructor; create a new object with an optional array|Zend_Config instance containing initialising options.
array | Zend_Config | $options |
getAccessTokenUrl | ( | ) |
Get access token URL.
If no access token URL has been set, but a site URL has, returns the site URL with the string "/access_token" appended.
Implements Zend_Oauth_Config_ConfigInterface.
getAuthorizeUrl | ( | ) |
Get authorization URL.
If no authorization URL has been set, but a site URL has, returns the site URL with the string "/authorize" appended.
getCallbackUrl | ( | ) |
getConsumerKey | ( | ) |
getConsumerSecret | ( | ) |
Get consumer secret.
Returns RSA private key if set; otherwise, returns any previously set consumer secret.
Implements Zend_Oauth_Config_ConfigInterface.
getRealm | ( | ) |
getRequestMethod | ( | ) |
getRequestScheme | ( | ) |
getRequestTokenUrl | ( | ) |
Get request token URL.
If no request token URL has been set, but a site URL has, returns the site URL with the string "/request_token" appended.
Implements Zend_Oauth_Config_ConfigInterface.
getRsaPrivateKey | ( | ) |
Get RSA private key.
getRsaPublicKey | ( | ) |
Get RSA public key.
getSignatureMethod | ( | ) |
getSiteUrl | ( | ) |
Get site URL.
getToken | ( | ) |
getUserAuthorizationUrl | ( | ) |
getVersion | ( | ) |
setAccessTokenUrl | ( | $url | ) |
Set access token URL.
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
setAuthorizeUrl | ( | $url | ) |
Set authorization URL.
string | $url |
Zend_Oauth_Exception | for invalid URLs |
setCallbackUrl | ( | $url | ) |
Set callback URL.
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
setConsumerKey | ( | $key | ) |
Set consumer key.
string | $key |
Implements Zend_Oauth_Config_ConfigInterface.
setConsumerSecret | ( | $secret | ) |
Set consumer secret.
string | $secret |
Implements Zend_Oauth_Config_ConfigInterface.
setOptions | ( | array | $options | ) |
Parse option array or Zend_Config instance and setup options using their relevant mutators.
array | Zend_Config | $options |
Implements Zend_Oauth_Config_ConfigInterface.
setRealm | ( | $realm | ) |
Set OAuth realm.
string | $realm |
Implements Zend_Oauth_Config_ConfigInterface.
setRequestMethod | ( | $method | ) |
Set request method.
string | $method |
Zend_Oauth_Exception | for invalid request methods |
Implements Zend_Oauth_Config_ConfigInterface.
setRequestScheme | ( | $scheme | ) |
Set request scheme.
string | $scheme |
Zend_Oauth_Exception | if invalid scheme specified, or if POSTBODY set when request method of GET is specified |
Implements Zend_Oauth_Config_ConfigInterface.
setRequestTokenUrl | ( | $url | ) |
Set request token URL.
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
setRsaPrivateKey | ( | Zend_Crypt_Rsa_Key_Private | $key | ) |
setRsaPublicKey | ( | Zend_Crypt_Rsa_Key_Public | $key | ) |
setSignatureMethod | ( | $method | ) |
Set signature method.
string | $method |
Zend_Oauth_Exception | if unsupported signature method specified |
Implements Zend_Oauth_Config_ConfigInterface.
setSiteUrl | ( | $url | ) |
Set site URL.
string | $url |
Zend_Oauth_Exception | for invalid URLs |
setToken | ( | Zend_Oauth_Token | $token | ) |
Set OAuth token.
Zend_Oauth_Token | $token |
Implements Zend_Oauth_Config_ConfigInterface.
setUserAuthorizationUrl | ( | $url | ) |
Set user authorization URL.
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
setVersion | ( | $version | ) |
Set version.
string | $version |
Implements Zend_Oauth_Config_ConfigInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |