Other
UserToken
Magento\Integration\Api\Data\UserToken
What it does
This class represents a user authentication token in Magento 2's integration system.
It encapsulates both the user's context (user ID, type, and permissions) and token-specific data (like expiration time).
Developers use this when implementing token-based authentication for APIs or when validating user credentials in custom integrations.
Public Methods
- getUserContext()
- getData()