Initial commit
This commit is contained in:
19
src/Key/JwtPlaintextKey.php
Normal file
19
src/Key/JwtPlaintextKey.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace NoccyLabs\SimpleJwt\Key;
|
||||
|
||||
class JwtPlaintextKey implements KeyInterface
|
||||
{
|
||||
private $key;
|
||||
|
||||
public function __construct(string $key)
|
||||
{
|
||||
$this->key = $key;
|
||||
}
|
||||
|
||||
public function getBinaryKey(): string
|
||||
{
|
||||
return $this->key;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user