Merge pull request #537 from ivyhjk/V5-WIP

Update refresh token expire_time
This commit is contained in:
Alex Bilbie 2016-04-11 08:24:07 +01:00
commit 525b9b3d3e

View File

@ -39,7 +39,7 @@ class BearerTokenResponse extends AbstractResponseType
'access_token_id' => $this->accessToken->getIdentifier(),
'scopes' => $this->accessToken->getScopes(),
'user_id' => $this->accessToken->getUserIdentifier(),
'expire_time' => $expireDateTime,
'expire_time' => $this->refreshToken->getExpiryDateTime()->getTimestamp(),
]
)
);