PHP Class Emarref\Jwt\Token\Payload

Inheritance: implements JsonSerializable
Show file Open project: emarref/jwt Class Usage Examples

Protected Properties

Property Type Description
$propertyList PropertyList

Public Methods

Method Description
__construct ( )
findClaimByName ( string $name ) : Emarref\Jwt\Claim\ClaimInterface | null
getClaims ( ) : PropertyList
jsonSerialize ( ) : string
setClaim ( Emarref\Jwt\Claim\ClaimInterface $claim )

Method Details

__construct() public method

public __construct ( )

findClaimByName() public method

public findClaimByName ( string $name ) : Emarref\Jwt\Claim\ClaimInterface | null
$name string
return Emarref\Jwt\Claim\ClaimInterface | null

getClaims() public method

public getClaims ( ) : PropertyList
return PropertyList

jsonSerialize() public method

public jsonSerialize ( ) : string
return string

setClaim() public method

public setClaim ( Emarref\Jwt\Claim\ClaimInterface $claim )
$claim Emarref\Jwt\Claim\ClaimInterface

Property Details

$propertyList protected property

protected PropertyList,Emarref\Jwt\Token $propertyList
return PropertyList