Code tidy

This commit is contained in:
Alex Bilbie 2016-01-14 23:45:36 +00:00
parent 633746b02e
commit 56060b2c16

View File

@ -25,7 +25,8 @@ class BearerTokenResponse extends AbstractResponseType
*/ */
public function generateHttpResponse() public function generateHttpResponse()
{ {
$jwtAccessToken = (new Builder())->setAudience($this->accessToken->getClient()->getIdentifier()) $jwtAccessToken = (new Builder())
->setAudience($this->accessToken->getClient()->getIdentifier())
->setId($this->accessToken->getIdentifier(), true) ->setId($this->accessToken->getIdentifier(), true)
->setIssuedAt(time()) ->setIssuedAt(time())
->setNotBefore(time()) ->setNotBefore(time())