| 1 | <?php |
||
| 17 | final class JWAManager implements JWAManagerInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $algorithms = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function isAlgorithmSupported($algorithm) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function getAlgorithms() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | public function listAlgorithms() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | public function getAlgorithm($algorithm) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * {@inheritdoc} |
||
| 58 | */ |
||
| 59 | public function addAlgorithm(JWAInterface $algorithm) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * [@inheritdoc}. |
||
| 68 | */ |
||
| 69 | public function removeAlgorithm($algorithm) |
||
| 82 | } |
||
| 83 |