Log in
Factory

SecretBasedJwksFactory

Magento\JwtUserToken\Model\SecretBasedJwksFactory

What it does

This factory creates JSON Web Key (JWK) sets for JWT token operations using Magento's secret cryptographic key from deployment configuration.

Developers use this class when they need to generate or validate JWT tokens for user authentication, as it provides the cryptographic keys required for various JWT signing and encryption algorithms (HS256, HS384, HS512, and AES key wrapping algorithms).

Public Methods

  • createFor()