PHP Class 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.
Inheritance: extends AbstractClaim
Afficher le fichier Open project: emarref/jwt

Méthodes publiques

Méthode Description
__construct ( string $name = null, mixed $value = null )
getName ( ) : string
setName ( string $name )

Method Details

__construct() public méthode

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

getName() public méthode

public getName ( ) : string
Résultat string

setName() public méthode

public setName ( string $name )
$name string