diff --git a/examples/src/Repositories/AccessTokenRepository.php b/examples/src/Repositories/AccessTokenRepository.php index d7736c76..12386f2c 100644 --- a/examples/src/Repositories/AccessTokenRepository.php +++ b/examples/src/Repositories/AccessTokenRepository.php @@ -43,15 +43,8 @@ class AccessTokenRepository implements AccessTokenRepositoryInterface /** * {@inheritdoc} */ - public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null) + public function getNewToken() { - $accessToken = new AccessTokenEntity(); - $accessToken->setClient($clientEntity); - foreach ($scopes as $scope) { - $accessToken->addScope($scope); - } - $accessToken->setUserIdentifier($userIdentifier); - - return $accessToken; + return new AccessTokenEntity(); } }