Log in
Model

Revoker

Magento\Integration\Model\OpaqueToken\Revoker

What it does

This class revokes OAuth access tokens for customer and admin users in Magento 2.

Developers would use this when implementing security features like logout, password reset, or account deletion where all existing access tokens need to be invalidated to prevent unauthorized access.

Public Methods

  • revokeFor()