php-simple-jwt/src/Key/JWTPlaintextKey.php

20 lines
280 B
PHP
Raw Normal View History

2021-02-11 13:22:51 +01:00
<?php
2023-04-09 02:40:21 +02:00
namespace NoccyLabs\SimpleJWT\Key;
2021-02-11 13:22:51 +01:00
2023-04-09 02:40:21 +02:00
class JWTPlaintextKey implements KeyInterface
2021-02-11 13:22:51 +01:00
{
private $key;
public function __construct(string $key)
{
$this->key = $key;
}
public function getBinaryKey(): string
{
return $this->key;
}
}