Model
JwtUserContext
Magento\JwtUserToken\Model\Data\JwtUserContext
What it does
This class represents a user context derived from JWT (JSON Web Token) authentication.
Developers use this to identify the authenticated user's ID and type (e.g., customer, admin, guest) when processing API requests that use JWT tokens for authorization.
It implements Magento's UserContextInterface to provide a standardized way to access user information from JWT tokens.
Public Methods
- getUserId()
- getUserType()