mirror of
https://github.com/elyby/accounts.git
synced 2024-12-02 19:50:46 +05:30
20 lines
340 B
PHP
20 lines
340 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace api\components\Tokens\Algorithms;
|
||
|
|
||
|
use Lcobucci\JWT\Signer;
|
||
|
use Lcobucci\JWT\Signer\Key;
|
||
|
|
||
|
interface AlgorithmInterface {
|
||
|
|
||
|
public function getAlgorithmId(): string;
|
||
|
|
||
|
public function getSigner(): Signer;
|
||
|
|
||
|
public function getPrivateKey(): Key;
|
||
|
|
||
|
public function getPublicKey(): Key;
|
||
|
|
||
|
}
|