Algorithm Management (JWA)
composer require web-token/jwt-coreAlgorithm Manager
<?php
use Jose\Component\Core\AlgorithmManager;
use Jose\Component\Signature\Algorithm\PS256;
use Jose\Component\Signature\Algorithm\ES512;
$algorithm_manager = AlgorithmManager::create([
new PS256(),
new ES512(),
]);Algorithm Manager Factory
Last updated
Was this helpful?