public function jsonSerialize() { $data = parent::jsonSerialize(); return array_merge($data, array('accessToken' => $this->getAccessToken(), 'tokenType' => $this->getTokenType(), 'expiresIn' => $this->getExpiresIn())); }
public function jsonSerialize() { $data = parent::jsonSerialize(); return array_merge($data, array('deviceCode' => $this->getDeviceCode(), 'expiryTime' => $this->getExpiryTime(), 'interval' => $this->getInterval(), 'userCode' => $this->getUserCode(), 'verificationUrl' => $this->getVerificationUrl(), 'lastPoll' => $this->getLastPoll())); }