PHP Class Psecio\Jwt\Claim\Custom

Inheritance: extends Psecio\Jwt\Claim
Show file Open project: psecio/jwt

Protected Properties

Property Type Description
$name
$type

Public Methods

Method Description
__construct ( string $value, string $type ) Initialize the claim with the given value and type
setType ( string $type ) : Claim Set the claim type

Method Details

__construct() public method

Initialize the claim with the given value and type
public __construct ( string $value, string $type )
$value string Claim value
$type string Type value

setType() public method

Set the claim type
public setType ( string $type ) : Claim
$type string Claim type
return Psecio\Jwt\Claim instance

Property Details

$name protected property

protected $name

$type protected property

protected $type