PHP Класс Emarref\Jwt\Claim\PublicClaim

Claim Names can be defined at will by those using JWTs. However, in order to prevent collisions, any new Claim Name should either be registered in the IANA JSON Web Token Claims registry defined in Section 10.1 or be a Public Name: a value that contains a Collision-Resistant Name. In each case, the definer of the name or value needs to take reasonable precautions to make sure they are in control of the part of the namespace they use to define the Claim Name.
Наследование: extends AbstractClaim
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $name = null, mixed $value = null )
getName ( ) : string
setName ( string $name )

Описание методов

__construct() публичный Метод

public __construct ( string $name = null, mixed $value = null )
$name string
$value mixed

getName() публичный Метод

public getName ( ) : string
Результат string

setName() публичный Метод

public setName ( string $name )
$name string