Log in
Model

Header

Magento\JwtUserToken\Model\Data\Header

What it does

This class represents the header section of a JWT (JSON Web Token) used for user authentication in Magento 2.

Developers use this class to access JWT header parameters like algorithm type, token type, and other metadata needed to validate and process user tokens.

It provides methods to retrieve all header parameters or fetch a specific parameter by name.

Public Methods

  • getParameters()
  • getParameter()