Model
JwtManager
Magento\JwtFrameworkAdapter\Model\JwtManager
What it does
This class serves as the main entry point for creating, reading, and parsing JSON Web Tokens (JWT) in Magento 2.
It acts as an adapter for the jwt-framework library, managing three types of tokens: JWS (signed), JWE (encrypted), and unsecured JWTs.
Developers use this class when implementing secure API authentication or authorization features that require token-based security.
Public Methods
- create()
- read()
- readHeaders()