Log in
Model

Issuer

Magento\JwtUserToken\Model\Issuer

What it does

This class creates JWT (JSON Web Token) authentication tokens for Magento 2 users.

Developers use it to generate secure tokens for admin users and customers, with configurable expiration times and support for both JWS (signed) and JWE (encrypted) token formats.

It's primarily used in API authentication flows and headless commerce implementations.

Public Methods

  • create()