Model
Reader
Magento\JwtUserToken\Model\Reader
What it does
This class reads and validates JWT (JSON Web Token) user authentication tokens in Magento 2.
Developers use it to decode JWT tokens from API requests, extract user information (user ID, user type), and verify token claims like expiration time and issued-at timestamps.
It supports both JWS (signed) and JWE (encrypted) token formats and throws exceptions if required claims are missing or invalid.
Public Methods
- read()