20 lines
280 B
PHP
20 lines
280 B
PHP
<?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;
|
|
}
|
|
}
|
|
|