Class Mage_Oauth_Helper_Data
OAuth Helper
- Mage_Core_Helper_Abstract
- Mage_Oauth_Helper_Data
Package: Mage\Oauth
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Oauth/Helper/Data.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Oauth/Helper/Data.php
protected
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
boolean|string
|
#
getFullCallbackUrl(
Return complete callback URL or boolean FALSE if no callback provided |
public
string
|
|
public
boolean
|
|
public
integer
|
#
getCleanupExpirationPeriod( )
Get cleanup expiration period value from system configuration in minutes |
public
|
#
sendNotificationOnTokenStatusChange( string $userEmail, string $userName, string $applicationName, string $status )
Send Email to Token owner |
protected
boolean
|
|
public
string
|
|
public
string|null
|
string |
ENDPOINT_AUTHORIZE_CUSTOMER
|
'oauth/authorize' |
#
Endpoint types with appropriate routes |
string |
ENDPOINT_AUTHORIZE_ADMIN
|
'adminhtml/oauth_authorize' |
|
string |
ENDPOINT_AUTHORIZE_CUSTOMER_SIMPLE
|
'oauth/authorize/simple' |
|
string |
ENDPOINT_AUTHORIZE_ADMIN_SIMPLE
|
'adminhtml/oauth_authorize/simple' |
|
string |
ENDPOINT_INITIATE
|
'oauth/initiate' |
|
string |
ENDPOINT_TOKEN
|
'oauth/token' |
|
string |
XML_PATH_CLEANUP_PROBABILITY
|
'oauth/cleanup/cleanup_probability' |
#
Cleanup xpath config settings |
string |
XML_PATH_CLEANUP_EXPIRATION_PERIOD
|
'oauth/cleanup/expiration_period' |
|
string |
XML_PATH_EMAIL_TEMPLATE
|
'oauth/email/template' |
#
Email template |
string |
XML_PATH_EMAIL_IDENTITY
|
'oauth/email/identity' |
|
integer |
CLEANUP_EXPIRATION_PERIOD_DEFAULT
|
120 |
#
Cleanup expiration period in minutes |
string |
QUERY_PARAM_REJECTED
|
'rejected' |
#
Query parameter as a sign that user rejects |
protected
array
|
$_endpoints | array(
self::ENDPOINT_AUTHORIZE_CUSTOMER,
self::ENDPOINT_AUTHORIZE_ADMIN,
self::ENDPOINT_AUTHORIZE_CUSTOMER_SIMPLE,
self::ENDPOINT_AUTHORIZE_ADMIN_SIMPLE,
self::ENDPOINT_INITIATE,
self::ENDPOINT_TOKEN
) |
#
Available endpoints list |
$_layout,
$_moduleName,
$_request
|