mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +05:30
Code tidy
This commit is contained in:
parent
633746b02e
commit
56060b2c16
@ -25,7 +25,8 @@ class BearerTokenResponse extends AbstractResponseType
|
||||
*/
|
||||
public function generateHttpResponse()
|
||||
{
|
||||
$jwtAccessToken = (new Builder())->setAudience($this->accessToken->getClient()->getIdentifier())
|
||||
$jwtAccessToken = (new Builder())
|
||||
->setAudience($this->accessToken->getClient()->getIdentifier())
|
||||
->setId($this->accessToken->getIdentifier(), true)
|
||||
->setIssuedAt(time())
|
||||
->setNotBefore(time())
|
||||
|
Loading…
Reference in New Issue
Block a user