Model
JwtManagement
Magento\CardinalCommerce\Model\JwtManagement
What it does
This class handles JSON Web Token (JWT) operations for Cardinal Commerce integration in Magento 2.
It allows developers to encode arrays into signed JWT strings and decode/verify JWT strings back into arrays using the HS256 algorithm.
This is primarily used for secure communication with Cardinal Commerce's payment authentication services.
Public Methods
- decode()
- encode()