mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Replace emarref/jwt with lcobucci/jwt
Refactor all JWT-related components Replace RS256 with ES256 as a preferred JWT algorithm
This commit is contained in:
12
api/components/Tokens/AlgorithmIsNotDefinedException.php
Normal file
12
api/components/Tokens/AlgorithmIsNotDefinedException.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?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");
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user