Log in
Interface

OauthServiceInterface

Magento\Integration\Api\OauthServiceInterface

What it does

This interface defines the contract for managing OAuth authentication in Magento 2 integrations.

Developers use this service to create and manage OAuth consumers (third-party applications), generate access tokens for API authentication, and handle the OAuth handshake process when connecting external systems to Magento.

It's essential for building secure API integrations that require OAuth 1.0a authentication.

Public Methods

  • createConsumer()
  • createAccessToken()
  • getAccessToken()
  • loadConsumer()
  • loadConsumerByKey()
  • postToConsumer()
  • deleteConsumer()
  • deleteIntegrationToken()