Model
Token
Magento\Integration\Model\Oauth\Token
What it does
This class manages OAuth tokens in Magento 2, handling the complete OAuth token lifecycle including request tokens, access tokens, and verifier tokens.
Developers use this model to create and validate OAuth tokens for integrations, as well as manage admin and customer access tokens for API authentication.
Public Methods
- afterSave()
- createVerifierToken()
- convertToAccess()
- createAdminToken()
- createCustomerToken()
- createRequestToken()
- validate()
- getVerifier()
- loadByConsumerIdAndUserType()
- loadByAdminId()
- loadByCustomerId()
- loadByToken()