Log in
Other

UserTokenException

Magento\Integration\Api\Exception\UserTokenException

What it does

This exception class is thrown when there are failures related to user authentication tokens in Magento's integration system.

Developers should catch and throw this exception when token validation fails, token expiration occurs, or other token-related authentication issues arise.

It stores the user context to provide additional information about which user's token caused the failure.

Public Methods

  • getUserContext()