app/code/Magento/Integration/README.md
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.
This module is one of the base modules. You cannot disable or uninstall this module.
This module is dependent on the following modules:
Magento_StoreMagento_UserMagento_SecurityThis module creates the following tables in the database:
oauth_consumeroauth_tokenoauth_nonceintegrationoauth_token_request_logFor information about a module installation, see Enable or disable modules.
Extension developers can interact with the Magento_Integration module. For more information about the extension mechanism, see Plugins.
The 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, 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, 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, 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.
You can get more information at the following articles: