| 1 | <?php | ||
| 5 | class Claim | ||
| 6 | { | ||
| 7 | |||
| 8 | /** | ||
| 9 | * @var mixed | ||
| 10 | */ | ||
| 11 | public $sub; | ||
| 12 | |||
| 13 | /** | ||
| 14 | * @var string | ||
| 15 | */ | ||
| 16 | public $iss; | ||
| 17 | |||
| 18 | /** | ||
| 19 | * @var int | ||
| 20 | */ | ||
| 21 | public $iat; | ||
| 22 | |||
| 23 | /** | ||
| 24 | * @var int | ||
| 25 | */ | ||
| 26 | public $exp; | ||
| 27 | |||
| 28 | /** | ||
| 29 | * @var string | ||
| 30 | */ | ||
| 31 | public $jti; | ||
| 32 | |||
| 33 | /** | ||
| 34 | * Claim constructor | ||
| 35 | * | ||
| 36 | * @param array $data | ||
| 37 | */ | ||
| 38 | public function __construct(array $data = []) | ||
| 48 | |||
| 49 | /** | ||
| 50 | * toArray method | ||
| 51 | * | ||
| 52 | * @return array | ||
| 53 | */ | ||
| 54 | public function toArray() | ||
| 80 | |||
| 81 | } |