Skip to content

Commit bf63f1a

Browse files
committed
Improve PR
1 parent 4372776 commit bf63f1a

File tree

4 files changed

+21
-32
lines changed

4 files changed

+21
-32
lines changed

app/code/Magento/LoginAsCustomerAdminUi/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ This module provides UI for Admin Panel for Login As Customer functionality.
44

55
[The Magento dependency injection mechanism](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_LoginAsCustomerAdminUi module.
66

7-
### Layouts
8-
9-
This module introduces the following layouts in the `view/adminhtml/layout` directory:
10-
- `loginascustomer_confirmation_popup`
11-
12-
For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).
13-
147
## Additional information
158

169
This module is a part of Login As Customer feature.

app/code/Magento/LoginAsCustomerApi/README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ This module provides API for ability to login into customer account for an admin
66

77
- `\Magento\LoginAsCustomerApi\Api\Data\AuthenticationDataInterface`:
88
- contains authentication data
9-
10-
- `\Magento\LoginAsCustomerApi\Api\DataAuthenticationDataInterface`:
11-
- authentication data
9+
10+
-`\Magento\LoginAsCustomerApi\Api\Data\IsLoginAsCustomerEnabledForCustomerResultInterface`:
11+
- contains the result of the check whether the login as customer is enabled
1212

1313
- `\Magento\LoginAsCustomerApi\Api\AuthenticateCustomerBySecretInterface`:
1414
- authenticate a customer by secret
@@ -21,15 +21,33 @@ This module provides API for ability to login into customer account for an admin
2121
- `\Magento\LoginAsCustomerApi\Api\DeleteAuthenticationDataForUserInterface`:
2222
- delete authentication data by user id
2323

24+
- `\Magento\LoginAsCustomerApi\Api\GenerateAuthenticationSecretInterface`:
25+
- generate authentication secret
26+
2427
- `\Magento\LoginAsCustomerApi\Api\GetAuthenticationDataBySecretInterface`:
2528
- get authentication data by secret
29+
30+
- `\Magento\LoginAsCustomerApi\Api\GetLoggedAsCustomerAdminIdInterface`:
31+
- get id of admin logged as customer
32+
33+
- `\Magento\LoginAsCustomerApi\Api\GetLoggedAsCustomerCustomerIdInterface`:
34+
- get id of customer admin is logged as
35+
36+
- `\Magento\LoginAsCustomerApi\Api\IsLoginAsCustomerEnabledForCustomerInterface`:
37+
- check if login as customer functionality is enabled for customer
2638

2739
- `\Magento\LoginAsCustomerApi\Api\IsLoginAsCustomerSessionActiveInterface`:
2840
- check if Login as Customer session is still active
2941

3042
- `\Magento\LoginAsCustomerApi\Api\SaveAuthenticationDataInterface`:
3143
- save authentication data. Return secret key
3244

45+
- `\Magento\LoginAsCustomerApi\Api\SetLoggedAsCustomerAdminIdInterface`:
46+
- set id of admin logged as customer
47+
48+
- `\Magento\LoginAsCustomerApi\Api\SetLoggedAsCustomerCustomerIdInterface`:
49+
- set id of customer admin is logged as
50+
3351
For information about a public API in Magento 2, see [Public interfaces & APIs](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/api-concepts.html).
3452

3553
## Additional information

app/code/Magento/LoginAsCustomerAssistance/README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,6 @@ The Magento_LoginAsCustomerAssistance module creates the `login_as_customer_assi
88

99
For information about a module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
1010

11-
### Layouts
12-
13-
This module introduces the following layouts in the `view/adminhtml/layout` directory:
14-
- `view/adminhtml/layout`:
15-
- `loginascustomer_confirmation_popup`
16-
17-
For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).
18-
19-
### UI components
20-
21-
This module extends ui components. The configuration files located in the directory `view/adminhtml/ui_component`:
22-
- `customer_form`
23-
24-
For information about a UI component in Magento 2, see [Overview of UI components](http://devdocs.magento.com/guides/v2.4/ui_comp_guide/bk-ui_comps.html).
25-
2611
## Additional information
2712

2813
This module is a part of Login As Customer feature.

app/code/Magento/LoginAsCustomerFrontendUi/README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
This module provides UI for Storefront for Login As Customer functionality.
44

5-
### Layouts
6-
7-
This module introduces the following layouts in the `view/frontend/layout` directory:
8-
- `loginascustomer_login_index`
9-
10-
For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).
11-
125
## Additional information
136

147
This module is a part of Login As Customer feature.

0 commit comments

Comments
 (0)