Log in
Factory

JwsAlgorithmManagerFactory

Magento\JwtFrameworkAdapter\Model\JwsAlgorithmManagerFactory

What it does

This factory class creates and configures an AlgorithmManager for JSON Web Signature (JWS) operations in Magento 2.

It initializes all supported JWT signing algorithms including HMAC (HS*), RSA (RS*, PS*), Elliptic Curve (ES*, EdDSA), and None.

Developers use this when they need to create, verify, or work with signed JWT tokens using various cryptographic algorithms.

Public Methods

  • create()