Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($options=null) | |
setOptions (array $options) | |
setConsumerKey ($key) | |
getConsumerKey () | |
setConsumerSecret ($secret) | |
getConsumerSecret () | |
setSignatureMethod ($method) | |
getSignatureMethod () | |
setRequestScheme ($scheme) | |
getRequestScheme () | |
setVersion ($version) | |
getVersion () | |
setCallbackUrl ($url) | |
getCallbackUrl () | |
setSiteUrl ($url) | |
getSiteUrl () | |
setRequestTokenUrl ($url) | |
getRequestTokenUrl () | |
setAccessTokenUrl ($url) | |
getAccessTokenUrl () | |
setUserAuthorizationUrl ($url) | |
setAuthorizeUrl ($url) | |
getUserAuthorizationUrl () | |
getAuthorizeUrl () | |
setRequestMethod ($method) | |
getRequestMethod () | |
setRsaPublicKey (Zend_Crypt_Rsa_Key_Public $key) | |
getRsaPublicKey () | |
setRsaPrivateKey (Zend_Crypt_Rsa_Key_Private $key) | |
getRsaPrivateKey () | |
setToken (Zend_Oauth_Token $token) | |
getToken () | |
setRealm ($realm) | |
getRealm () | |
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 | |
Definition at line 37 of file Config.php.
__construct | ( | $options = null | ) |
Constructor; create a new object with an optional array|Zend_Config instance containing initialising options.
array | Zend_Config | $options |
Definition at line 164 of file Config.php.
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.
Definition at line 504 of file Config.php.
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.
Definition at line 561 of file Config.php.
getCallbackUrl | ( | ) |
Get callback URL
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 408 of file Config.php.
getConsumerKey | ( | ) |
Get consumer key
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 253 of file Config.php.
getConsumerSecret | ( | ) |
Get consumer secret
Returns RSA private key if set; otherwise, returns any previously set consumer secret.
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 278 of file Config.php.
getRealm | ( | ) |
Get OAuth realm
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 687 of file Config.php.
getRequestMethod | ( | ) |
Get request method
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 599 of file Config.php.
getRequestScheme | ( | ) |
Get request scheme
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 357 of file Config.php.
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.
Definition at line 469 of file Config.php.
getRsaPrivateKey | ( | ) |
getRsaPublicKey | ( | ) |
getSignatureMethod | ( | ) |
Get signature method
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 314 of file Config.php.
getSiteUrl | ( | ) |
getToken | ( | ) |
Get OAuth token
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 665 of file Config.php.
getUserAuthorizationUrl | ( | ) |
Get user authorization URL
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 548 of file Config.php.
getVersion | ( | ) |
Get version
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 379 of file Config.php.
setAccessTokenUrl | ( | $url | ) |
Set access token URL
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 484 of file Config.php.
setAuthorizeUrl | ( | $url | ) |
Set authorization URL
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Definition at line 531 of file Config.php.
setCallbackUrl | ( | $url | ) |
Set callback URL
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 391 of file Config.php.
setConsumerKey | ( | $key | ) |
Set consumer key
string | $key |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 242 of file Config.php.
setConsumerSecret | ( | $secret | ) |
Set consumer secret
string | $secret |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 264 of file Config.php.
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.
Definition at line 181 of file Config.php.
setRealm | ( | $realm | ) |
Set OAuth realm
string | $realm |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 676 of file Config.php.
setRequestMethod | ( | $method | ) |
Set request method
string | $method |
Zend_Oauth_Exception | for invalid request methods |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 576 of file Config.php.
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.
Definition at line 326 of file Config.php.
setRequestTokenUrl | ( | $url | ) |
Set request token URL
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 449 of file Config.php.
setRsaPrivateKey | ( | Zend_Crypt_Rsa_Key_Private | $key | ) |
Set RSA private key
Zend_Crypt_Rsa_Key_Private | $key |
Definition at line 632 of file Config.php.
setRsaPublicKey | ( | Zend_Crypt_Rsa_Key_Public | $key | ) |
Set RSA public key
Zend_Crypt_Rsa_Key_Public | $key |
Definition at line 610 of file Config.php.
setSignatureMethod | ( | $method | ) |
Set signature method
string | $method |
Zend_Oauth_Exception | if unsupported signature method specified |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 293 of file Config.php.
setSiteUrl | ( | $url | ) |
Set site URL
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Definition at line 420 of file Config.php.
setToken | ( | Zend_Oauth_Token | $token | ) |
Set OAuth token
Zend_Oauth_Token | $token |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 654 of file Config.php.
setUserAuthorizationUrl | ( | $url | ) |
Set user authorization URL
string | $url |
Zend_Oauth_Exception | for invalid URLs |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 519 of file Config.php.
setVersion | ( | $version | ) |
Set version
string | $version |
Implements Zend_Oauth_Config_ConfigInterface.
Definition at line 368 of file Config.php.
|
protected |
Definition at line 102 of file Config.php.
|
protected |
Definition at line 110 of file Config.php.
|
protected |
Definition at line 79 of file Config.php.
|
protected |
Definition at line 117 of file Config.php.
|
protected |
Definition at line 124 of file Config.php.
|
protected |
Definition at line 155 of file Config.php.
|
protected |
Definition at line 62 of file Config.php.
|
protected |
Definition at line 53 of file Config.php.
|
protected |
Definition at line 94 of file Config.php.
|
protected |
Definition at line 132 of file Config.php.
|
protected |
Definition at line 140 of file Config.php.
|
protected |
Definition at line 44 of file Config.php.
|
protected |
Definition at line 86 of file Config.php.
|
protected |
Definition at line 148 of file Config.php.
|
protected |
Definition at line 69 of file Config.php.