|
|
2 jaren geleden | |
|---|---|---|
| .. | ||
| Api | 2 jaren geleden | |
| Block/Adminhtml | 2 jaren geleden | |
| Controller | 2 jaren geleden | |
| Cron | 2 jaren geleden | |
| Helper | 2 jaren geleden | |
| Model | 2 jaren geleden | |
| Plugin/Model | 2 jaren geleden | |
| Setup | 2 jaren geleden | |
| Test | 2 jaren geleden | |
| ViewModel | 2 jaren geleden | |
| etc | 2 jaren geleden | |
| i18n | 2 jaren geleden | |
| view/adminhtml | 2 jaren geleden | |
| LICENSE.txt | 2 jaren geleden | |
| LICENSE_AFL.txt | 2 jaren geleden | |
| README.md | 2 jaren geleden | |
| composer.json | 2 jaren geleden | |
| registration.php | 2 jaren geleden | |
This module enables third-party services to call the Web API by using access tokens. It provides an admin UI that enables manual creation of integrations. Extensions can also provide a configuration file so that an integration can be automatically pre-configured. The module also contains the data model for request and access token management.
The Magento_Integration module is one of the base Magento 2 modules. You cannot disable or uninstall this module.
This module is dependent on the following modules:
Magento_StoreMagento_UserMagento_SecurityThe Magento_Integration module creates the following tables in the database:
oauth_consumeroauth_tokenoauth_nonceintegrationoauth_token_request_logFor information about a module installation in Magento 2, see Enable or disable modules.
Extension developers can interact with the Magento_Integration module. For more information about the Magento extension mechanism, see Magento plugins.
The Magento dependency injection mechanism enables you to override the functionality of the Magento_Integration module.
The module dispatches the following events:
customer_login event in the \Magento\Integration\Model\CustomerTokenService::createCustomerAccessToken method. Parameters:
customer is an object (\Magento\Customer\Api\Data\CustomerInterface class)For information about an event in Magento 2, see Events and observers.
This module introduces the following layout handles in the view/adminhtml/layout directory:
adminhtml_integration_editadminhtml_integration_gridadminhtml_integration_grid_blockadminhtml_integration_indexadminhtml_integration_newadminhtml_integration_permissionsdialogadminhtml_integration_tokensdialogadminhtml_integration_tokensexchangeFor more information about a layout in Magento 2, see the Layout documentation.
\Magento\Integration\Api\AdminTokenServiceInterface:
\Magento\Integration\Api\AuthorizationServiceInterface:
\Magento\Integration\Api\CustomerTokenServiceInterface:
\Magento\Integration\Api\IntegrationServiceInterface:
\Magento\Integration\Api\OauthServiceInterface:
For information about a public API in Magento 2, see Public interfaces & APIs.
Cron group configuration can be set at etc/crontab.xml:
outdated_authentication_failures_cleanup - clearing log of outdated token request authentication failuresexpired_tokens_cleanups - delete expired customer and admin tokensLearn how to configure and run cron in Magento..
More information can get at articles: