Log in
Factory

JwsLoaderFactory

Magento\JwtFrameworkAdapter\Model\JwsLoaderFactory

What it does

This factory class creates and configures JWS (JSON Web Signature) loader instances for verifying and loading JWT tokens in Magento 2.

Developers use this when they need to validate incoming JWT tokens, such as for API authentication or secure communication between services.

The factory handles the complex setup of serializers and cryptographic algorithm managers needed for JWT verification.

Public Methods

  • create()