setClient($clientEntity); array_map($accessToken->addScope(...), $scopes); if ($userIdentifier !== null) { $accessToken->setUserIdentifier($userIdentifier); } return $accessToken; } public function persistNewAccessToken(AccessTokenEntityInterface $accessTokenEntity): void { // We don't store access tokens, so there's no need to do anything here } public function revokeAccessToken($tokenId): void { // We don't store access tokens, so there's no need to do anything here } public function isAccessTokenRevoked($tokenId): bool { return false; } }