Model
Consumer
Magento\Integration\Model\ResourceModel\Oauth\Consumer
What it does
This resource model manages database operations for OAuth consumer entities in Magento 2's Integration module.
Developers use this class when working with third-party API integrations, as it handles CRUD operations for OAuth consumers, automatically encrypts/decrypts consumer secrets, and cleans up related nonce and token records when a consumer is deleted.
Public Methods
- _afterDelete()
- getTimeInSecondsSinceCreation()