Factory

JweFactory

Magento\JwtFrameworkAdapter\Model\JweFactory

What it does

This factory class creates JWE (JSON Web Encryption) objects from raw header and payload data.

Developers use this when they need to construct a JWE instance from encrypted token components, automatically determining the payload type (nested, arbitrary, or claims-based) based on the content type header.

It's primarily used internally by the JWT framework adapter to deserialize JWE tokens.

Public Methods

  • create()