Log in
Interface

ConfigReaderInterface

Magento\JwtUserToken\Api\ConfigReaderInterface

What it does

This interface defines methods to retrieve JWT (JSON Web Token) configuration settings for user authentication in Magento 2.

Developers use it to access JWT algorithm settings, encryption methods, and token expiration times (TTL) for both customer and admin users.

It's essential when implementing or customizing JWT-based authentication mechanisms.

Public Methods

  • getJwtAlgorithm()
  • getJwtAlgorithmType()
  • getJweContentAlgorithm()
  • getCustomerTtl()
  • getAdminTtl()