mirror of
https://github.com/elyby/accounts.git
synced 2024-12-05 04:58:56 +05:30
45c2ed601d
Refactor all JWT-related components Replace RS256 with ES256 as a preferred JWT algorithm
13 lines
273 B
PHP
13 lines
273 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace api\components\Tokens;
|
|
|
|
class AlgorithmIsNotDefinedException extends \Exception {
|
|
|
|
public function __construct(string $algorithmId) {
|
|
parent::__construct("Algorithm with id \"{$algorithmId}\" is not defined");
|
|
}
|
|
|
|
}
|