handle = $handle; $this->secret = $secret; $this->mac_function = $mac_function; $this->lifetime = $lifetime; $this->issued = $issued; $this->type = $type; $this->realm = $realm; } public function getMacFunction():string { return $this->mac_function; } public function setMacFunction(string $mac_function):void { $this->mac_function = $mac_function; } public function getSecret():string { return $this->secret; } public function setSecret(string $secret): void { $this->secret = $secret; } public function getLifetime():int { return intval($this->lifetime); } public function setLifetime(int $lifetime):void { $this->lifetime = $lifetime; } public function getIssued():DateTime { return $this->issued; } public function setIssued(DateTime $issued):void { $this->issued = $issued; } public function getType():int { return $this->type; } public function setType(int $type):void { $this->type = $type; } public function getRealm():?string { return $this->realm; } public function setRealm(string $realm):void { $this->realm = $realm; } public function IsExpired():bool { // TODO: Implement IsExpired() method. } public function getRemainingLifetime():int { // TODO: Implement getRemainingLifetime() method. } public function getHandle():string { return $this->handle; } /** * @return int */ public function getId() { // TODO: Implement getId() method. } /** * @return int */ public function getIdentifier() { // TODO: Implement getIdentifier() method. } /** * @return bool */ public function isNew(): bool { // TODO: Implement isNew() method. } }