feat: jwt
This commit is contained in:
@@ -42,6 +42,11 @@ class CryptoFactory
|
||||
$jwtCrypto = new JwtCrypto();
|
||||
$this->cryptoInterface = $jwtCrypto;
|
||||
break;
|
||||
case 'admin-jwt':
|
||||
$jwtCrypto = new JwtCrypto();
|
||||
$this->cryptoInterface = $jwtCrypto;
|
||||
$this->cryptoInterface->type = $type;
|
||||
break;
|
||||
case 'admin-password':
|
||||
$adminCrypto = new AdminPasswordCrypto();
|
||||
$this->cryptoInterface = $adminCrypto;
|
||||
|
||||
Reference in New Issue
Block a user