Log in
Other

TokenManager

Magento\Integration\Api\TokenManager

What it does

This class manages authentication tokens for Magento users by providing a unified interface to create and revoke user tokens.

Developers use it when implementing custom authentication flows, integrating third-party systems, or building APIs that require token-based authentication.

It acts as a facade that simplifies token operations by delegating to specialized issuer and revoker services.

Public Methods

  • createUserTokenParameters()
  • create()
  • revokeFor()