mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 13:39:48 +05:30
Code tidy
This commit is contained in:
parent
633746b02e
commit
56060b2c16
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user