pull/5434/head
Daniel Supernault 2 months ago
parent bbe447244d
commit fc8709bc4b
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -17,7 +17,7 @@ class BearerTokenResponse extends \League\OAuth2\Server\ResponseTypes\BearerToke
protected function getExtraParams(AccessTokenEntityInterface $accessToken)
{
return [
'scopes' => array_map(fn ($scope) => $scope->getIdentifier(), $accessToken->getScopes()),
'scope' => array_map(fn ($scope) => $scope->getIdentifier(), $accessToken->getScopes()),
'created_at' => time(),
];
}

Loading…
Cancel
Save