26 lines
441 B
PHP
26 lines
441 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace Lcobucci\JWT;
|
||
|
|
||
|
use Lcobucci\JWT\Token\DataSet;
|
||
|
use Lcobucci\JWT\Token\Signature;
|
||
|
|
||
|
interface UnencryptedToken extends Token
|
||
|
{
|
||
|
/**
|
||
|
* Returns the token claims
|
||
|
*/
|
||
|
public function claims(): DataSet;
|
||
|
|
||
|
/**
|
||
|
* Returns the token signature
|
||
|
*/
|
||
|
public function signature(): Signature;
|
||
|
|
||
|
/**
|
||
|
* Returns the token payload
|
||
|
*/
|
||
|
public function payload(): string;
|
||
|
}
|