Factory
JwsFactory
Magento\JwtFrameworkAdapter\Model\JwsFactory
What it does
This factory class creates JSON Web Signature (JWS) data objects from raw JWT components.
Developers use it to build JWS instances with protected and unprotected headers and various payload types (claims, arbitrary, or nested).
It handles the conversion of header and claim arrays into proper JWS data structures for JWT processing.
Public Methods
- create()