Log in
Interface

UserTokenRevokerInterface

Magento\Integration\Api\UserTokenRevokerInterface

What it does

This interface defines a contract for revoking authentication tokens for Magento users.

Developers would implement this interface to create services that invalidate all previously issued access tokens for a specific user, typically used during logout, password changes, or security-related actions where existing tokens need to be revoked.

Public Methods

  • revokeFor()