Log in
Factory

JweBuilderFactory

Magento\JwtFrameworkAdapter\Model\JweBuilderFactory

What it does

This factory class creates JWEBuilder instances for building JSON Web Encryption (JWE) tokens in Magento 2.

Developers use this when they need to encrypt sensitive data or create encrypted JWT tokens, as it automatically configures the builder with the necessary encryption algorithms, compression methods, and serializers.

It's part of Magento's JWT framework adapter for secure token-based authentication and data encryption.

Public Methods

  • create()