Model
Provider
Magento\Integration\Model\Oauth\Token\Provider
What it does
This class manages OAuth token operations for Magento 2 integrations, handling the complete OAuth 1.0a flow including request token creation, validation, and conversion to access tokens.
Developers use this class when building third-party integrations that need to authenticate via OAuth, or when implementing custom authentication flows for external systems connecting to Magento.
Public Methods
- validateConsumer()
- createRequestToken()
- validateRequestToken()
- getAccessToken()
- validateAccessTokenRequest()
- validateAccessToken()
- validateOauthToken()
- getConsumerByKey()
- getIntegrationTokenByConsumerId()