Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\App\Action\Context $context, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\Json\Helper\Data $helper, AccountManagementInterface $customerAccountManagement, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory, \Magento\Framework\Controller\Result\RawFactory $resultRawFactory, CookieManagerInterface $cookieManager=null, CookieMetadataFactory $cookieMetadataFactory=null) | |
setAccountRedirect ($value) | |
setScopeConfig ($value) | |
![]() | |
__construct (Context $context) | |
dispatch (RequestInterface $request) | |
getActionFlag () | |
![]() | |
__construct (Context $context) | |
dispatch (RequestInterface $request) | |
getRequest () | |
getResponse () | |
![]() | |
execute () | |
Protected Member Functions | |
getAccountRedirect () | |
getScopeConfig () | |
![]() | |
_forward ($action, $controller=null, $module=null, array $params=null) | |
_redirect ($path, $arguments=[]) | |
Protected Attributes | |
$session | |
$customerAccountManagement | |
$helper | |
$resultJsonFactory | |
$resultRawFactory | |
$accountRedirect | |
$scopeConfig | |
![]() | |
$_objectManager | |
$_sessionNamespace | |
$_eventManager | |
$_actionFlag | |
$_redirect | |
$_view | |
$_url | |
$messageManager | |
![]() | |
$_request | |
$_response | |
$resultRedirectFactory | |
$resultFactory | |
Additional Inherited Members | |
![]() | |
const | FLAG_NO_DISPATCH = 'no-dispatch' |
const | FLAG_NO_POST_DISPATCH = 'no-postDispatch' |
const | FLAG_NO_DISPATCH_BLOCK_EVENT = 'no-beforeGenerateLayoutBlocksDispatch' |
const | PARAM_NAME_BASE64_URL = 'r64' |
const | PARAM_NAME_URL_ENCODED = 'uenc' |
Login controller
@method \Magento\Framework\App\RequestInterface getRequest() @method \Magento\Framework\App\Response\Http getResponse() @SuppressWarnings(PHPMD.CouplingBetweenObjects)
__construct | ( | \Magento\Framework\App\Action\Context | $context, |
\Magento\Customer\Model\Session | $customerSession, | ||
\Magento\Framework\Json\Helper\Data | $helper, | ||
AccountManagementInterface | $customerAccountManagement, | ||
\Magento\Framework\Controller\Result\JsonFactory | $resultJsonFactory, | ||
\Magento\Framework\Controller\Result\RawFactory | $resultRawFactory, | ||
CookieManagerInterface | $cookieManager = null , |
||
CookieMetadataFactory | $cookieMetadataFactory = null |
||
) |
Initialize Login controller
\Magento\Framework\App\Action\Context | $context | |
\Magento\Customer\Model\Session | $customerSession | |
\Magento\Framework\Json\Helper\Data | $helper | |
AccountManagementInterface | $customerAccountManagement | |
\Magento\Framework\Controller\Result\JsonFactory | $resultJsonFactory | |
\Magento\Framework\Controller\Result\RawFactory | $resultRawFactory | |
CookieManagerInterface | $cookieManager | |
CookieMetadataFactory | $cookieMetadataFactory |
Definition at line 86 of file Login.php.
|
protected |
Get account redirect. For release backward compatibility.
Definition at line 115 of file Login.php.
|
protected |
setAccountRedirect | ( | $value | ) |
Account redirect setter for unit tests.
AccountRedirect | $value |
setScopeConfig | ( | $value | ) |