Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ScopeConfigInterface $scopeConfig, ScopeInterface $scope) | |
getCustomerServiceEmail () | |
getLimitationTimePeriod () | |
isAdminAccountSharingEnabled () | |
getAdminSessionLifetime () | |
getPasswordResetProtectionType () | |
getMaxNumberPasswordResetRequests () | |
getMinTimeBetweenPasswordResetRequests () | |
Data Fields | |
const | LIMITATION_TIME_PERIOD = 3600 |
const | XML_PATH_ADMIN_AREA = 'admin/security/' |
const | XML_PATH_FRONTEND_AREA = 'customer/password/' |
const | XML_PATH_FRONTED_AREA = self::XML_PATH_FRONTEND_AREA |
const | XML_PATH_ADMIN_ACCOUNT_SHARING = 'admin/security/admin_account_sharing' |
const | XML_PATH_PASSWORD_RESET_PROTECTION_TYPE = 'password_reset_protection_type' |
const | XML_PATH_MAX_NUMBER_PASSWORD_RESET_REQUESTS = 'max_number_password_reset_requests' |
const | XML_PATH_MIN_TIME_BETWEEN_PASSWORD_RESET_REQUESTS = 'min_time_between_password_reset_requests' |
const | XML_PATH_EMAIL_RECIPIENT = 'contact/email/recipient_email' |
Protected Member Functions | |
getXmlPathPrefix () | |
Security config
Definition at line 15 of file Config.php.
__construct | ( | ScopeConfigInterface | $scopeConfig, |
ScopeInterface | $scope | ||
) |
SecurityConfig constructor.
ScopeConfigInterface | $scopeConfig | |
ScopeInterface | $scope |
Definition at line 80 of file Config.php.
getAdminSessionLifetime | ( | ) |
Get admin session lifetime
Implements ConfigInterface.
Definition at line 129 of file Config.php.
getCustomerServiceEmail | ( | ) |
Get customer service email address
Implements ConfigInterface.
Definition at line 93 of file Config.php.
getLimitationTimePeriod | ( | ) |
Get time period limitation of password reset requests
Implements ConfigInterface.
Definition at line 106 of file Config.php.
getMaxNumberPasswordResetRequests | ( | ) |
Get max number password reset requests per time period
int | $scope |
Implements ConfigInterface.
Definition at line 166 of file Config.php.
getMinTimeBetweenPasswordResetRequests | ( | ) |
Get minimum time between password reset requests
int | $scope |
Implements ConfigInterface.
Definition at line 180 of file Config.php.
getPasswordResetProtectionType | ( | ) |
{Get password reset protection type
Implements ConfigInterface.
Definition at line 152 of file Config.php.
|
protected |
Definition at line 139 of file Config.php.
isAdminAccountSharingEnabled | ( | ) |
Check if admin account sharing is enabled
Implements ConfigInterface.
Definition at line 116 of file Config.php.
const LIMITATION_TIME_PERIOD = 3600 |
Period of time which will be used to limit frequency of password reset requests
Definition at line 20 of file Config.php.
const XML_PATH_ADMIN_ACCOUNT_SHARING = 'admin/security/admin_account_sharing' |
Configuration path to admin account sharing
Definition at line 42 of file Config.php.
const XML_PATH_ADMIN_AREA = 'admin/security/' |
Configuration path to admin area
Definition at line 25 of file Config.php.
const XML_PATH_EMAIL_RECIPIENT = 'contact/email/recipient_email' |
Recipient email config path
Definition at line 62 of file Config.php.
const XML_PATH_FRONTED_AREA = self::XML_PATH_FRONTEND_AREA |
Configuration path to fronted area
Definition at line 37 of file Config.php.
const XML_PATH_FRONTEND_AREA = 'customer/password/' |
Configuration path to frontend area
Definition at line 30 of file Config.php.
const XML_PATH_MAX_NUMBER_PASSWORD_RESET_REQUESTS = 'max_number_password_reset_requests' |
Configuration key to max number password reset requests
Definition at line 52 of file Config.php.
const XML_PATH_MIN_TIME_BETWEEN_PASSWORD_RESET_REQUESTS = 'min_time_between_password_reset_requests' |
Configuration key to minimum time between password reset requests
Definition at line 57 of file Config.php.
const XML_PATH_PASSWORD_RESET_PROTECTION_TYPE = 'password_reset_protection_type' |
Configuration key to limit password reset requests method
Definition at line 47 of file Config.php.