mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 06:59:49 +05:30
Remove injected array of scopes
This commit is contained in:
parent
b5b5d9f347
commit
a49c762683
@ -3,7 +3,6 @@
|
||||
namespace League\OAuth2\Server\Repositories;
|
||||
|
||||
use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface;
|
||||
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
|
||||
|
||||
interface UserRepositoryInterface extends RepositoryInterface
|
||||
{
|
||||
@ -14,7 +13,6 @@ interface UserRepositoryInterface extends RepositoryInterface
|
||||
* @param string $password
|
||||
* @param string $grantType The grant type used
|
||||
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $clientEntity
|
||||
* @param ScopeEntityInterface[] $scopes
|
||||
*
|
||||
* @return \League\OAuth2\Server\Entities\Interfaces\UserEntityInterface
|
||||
*/
|
||||
@ -22,7 +20,6 @@ interface UserRepositoryInterface extends RepositoryInterface
|
||||
$username,
|
||||
$password,
|
||||
$grantType,
|
||||
ClientEntityInterface $clientEntity,
|
||||
array &$scopes
|
||||
ClientEntityInterface $clientEntity
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user