PHP Class Emarref\Jwt\Claim\PrivateClaim

A producer and consumer of a JWT MAY agree to use Claim Names that are Private Names: names that are not Registered Claim Names Section 4.1 or Public Claim Names Section 4.2. Unlike Public Claim Names, Private Claim Names are subject to collision and should be used with caution.
Inheritance: extends AbstractClaim
Show file Open project: emarref/jwt

Public Methods

Method Description
__construct ( string $name = null, mixed $value = null )
getName ( ) : string
setName ( string $name )

Method Details

__construct() public method

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

getName() public method

public getName ( ) : string
return string

setName() public method

public setName ( string $name )
$name string