Skip to content

Commit

Permalink
Improve PR
Browse files Browse the repository at this point in the history
  • Loading branch information
vlmed committed Sep 13, 2021
1 parent 4372776 commit bf63f1a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 32 deletions.
7 changes: 0 additions & 7 deletions app/code/Magento/LoginAsCustomerAdminUi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ This module provides UI for Admin Panel for Login As Customer functionality.

[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.

### Layouts

This module introduces the following layouts in the `view/adminhtml/layout` directory:
- `loginascustomer_confirmation_popup`

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).

## Additional information

This module is a part of Login As Customer feature.
Expand Down
24 changes: 21 additions & 3 deletions app/code/Magento/LoginAsCustomerApi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ This module provides API for ability to login into customer account for an admin

- `\Magento\LoginAsCustomerApi\Api\Data\AuthenticationDataInterface`:
- contains authentication data

- `\Magento\LoginAsCustomerApi\Api\DataAuthenticationDataInterface`:
- authentication data
-`\Magento\LoginAsCustomerApi\Api\Data\IsLoginAsCustomerEnabledForCustomerResultInterface`:
- contains the result of the check whether the login as customer is enabled

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

- `\Magento\LoginAsCustomerApi\Api\GenerateAuthenticationSecretInterface`:
- generate authentication secret

- `\Magento\LoginAsCustomerApi\Api\GetAuthenticationDataBySecretInterface`:
- get authentication data by secret

- `\Magento\LoginAsCustomerApi\Api\GetLoggedAsCustomerAdminIdInterface`:
- get id of admin logged as customer

- `\Magento\LoginAsCustomerApi\Api\GetLoggedAsCustomerCustomerIdInterface`:
- get id of customer admin is logged as

- `\Magento\LoginAsCustomerApi\Api\IsLoginAsCustomerEnabledForCustomerInterface`:
- check if login as customer functionality is enabled for customer

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

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

- `\Magento\LoginAsCustomerApi\Api\SetLoggedAsCustomerAdminIdInterface`:
- set id of admin logged as customer

- `\Magento\LoginAsCustomerApi\Api\SetLoggedAsCustomerCustomerIdInterface`:
- set id of customer admin is logged as

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).

## Additional information
Expand Down
15 changes: 0 additions & 15 deletions app/code/Magento/LoginAsCustomerAssistance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ The Magento_LoginAsCustomerAssistance module creates the `login_as_customer_assi

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).

### Layouts

This module introduces the following layouts in the `view/adminhtml/layout` directory:
- `view/adminhtml/layout`:
- `loginascustomer_confirmation_popup`

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).

### UI components

This module extends ui components. The configuration files located in the directory `view/adminhtml/ui_component`:
- `customer_form`

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).

## Additional information

This module is a part of Login As Customer feature.
Expand Down
7 changes: 0 additions & 7 deletions app/code/Magento/LoginAsCustomerFrontendUi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@

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

### Layouts

This module introduces the following layouts in the `view/frontend/layout` directory:
- `loginascustomer_login_index`

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).

## Additional information

This module is a part of Login As Customer feature.
Expand Down

0 comments on commit bf63f1a

Please sign in to comment.