JwtAlgorithmSource
Magento\JwtUserToken\Model\Config\JwtAlgorithmSource
What it does
This class provides a configuration source for JWT (JSON Web Token) algorithm options in Magento 2.
Developers use it to populate dropdown/select fields in admin configuration with available JWT algorithms (both JWS for signing and JWE for encryption), and to determine which type of algorithm is being used.
It's typically used in system configuration and JWT token generation settings.
Public Methods
- getAlgorithmType()
- toOptionArray()