Remove injected array of scopes

This commit is contained in:
Alex Bilbie 2016-03-23 18:36:43 +00:00
parent b5b5d9f347
commit a49c762683

View File

@ -3,7 +3,6 @@
namespace League\OAuth2\Server\Repositories; namespace League\OAuth2\Server\Repositories;
use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface; use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface;
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
interface UserRepositoryInterface extends RepositoryInterface interface UserRepositoryInterface extends RepositoryInterface
{ {
@ -14,7 +13,6 @@ interface UserRepositoryInterface extends RepositoryInterface
* @param string $password * @param string $password
* @param string $grantType The grant type used * @param string $grantType The grant type used
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity * @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity
* @param ScopeEntityInterface[] $scopes
* *
* @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface * @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface
*/ */
@ -22,7 +20,6 @@ interface UserRepositoryInterface extends RepositoryInterface
$username, $username,
$password, $password,
$grantType, $grantType,
ClientEntityInterface $clientEntity, ClientEntityInterface $clientEntity
array &$scopes
); );
} }