File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
LoginAsCustomerApi/Api/Data
LoginAsCustomerUi/Controller/Login
LoginAsCustomer/Model/ResourceModel Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 12
12
use Magento \Framework \Exception \LocalizedException ;
13
13
use Magento \LoginAsCustomerApi \Api \ConfigInterface ;
14
14
use Magento \LoginAsCustomerApi \Api \Data \AuthenticationDataInterface ;
15
- use Magento \LoginAsCustomerApi \Api \Data \AuthenticationDataInterfaceFactor ;
15
+ use Magento \LoginAsCustomerApi \Api \Data \AuthenticationDataInterfaceFactory ;
16
16
use Magento \LoginAsCustomerApi \Api \GetAuthenticationDataBySecretInterface ;
17
17
18
18
/**
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ public function getAdminId(): int;
33
33
/**
34
34
* Get extension attributes
35
35
*
36
- * @return AuthenticationDataExtensionInterface|null
36
+ * Fully qualified namespaces is needed for proper work of ccode generation
37
+ *
38
+ * @return \Magento\LoginAsCustomerApi\Api\Data\AuthenticationDataExtensionInterface|null
37
39
*/
38
40
public function getExtensionAttributes (): ?AuthenticationDataExtensionInterface ;
39
41
}
Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \LoginAsCustomerUi \Controller \Login ;
9
9
10
+ use Magento \Customer \Api \CustomerRepositoryInterface ;
10
11
use Magento \Framework \App \RequestInterface ;
11
12
use Magento \Framework \Controller \Result \Redirect ;
12
13
use Magento \Framework \Controller \ResultFactory ;
13
14
use Magento \Framework \Controller \ResultInterface ;
14
- use Magento \Customer \Api \CustomerRepositoryInterface ;
15
15
use Magento \Framework \Exception \LocalizedException ;
16
16
use Magento \Framework \Exception \NoSuchEntityException ;
17
17
use Magento \Framework \App \Action \HttpGetActionInterface ;
18
18
use Magento \Framework \Message \ManagerInterface ;
19
- use Psr \Log \LoggerInterface ;
20
19
use Magento \LoginAsCustomerApi \Api \GetAuthenticationDataBySecretInterface ;
21
20
use Magento \LoginAsCustomerApi \Api \AuthenticateCustomerInterface ;
22
21
use Magento \LoginAsCustomerApi \Api \DeleteAuthenticationDataBySecretInterface ;
22
+ use Psr \Log \LoggerInterface ;
23
23
24
24
/**
25
25
* Login As Customer storefront login action
You can’t perform that action at this time.
0 commit comments