mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 15:00:19 +05:30
Remove redundant parameters
This commit is contained in:
parent
14b6761c0f
commit
78b6bddc4d
@ -10,7 +10,6 @@
|
|||||||
namespace League\OAuth2\Server\Repositories;
|
namespace League\OAuth2\Server\Repositories;
|
||||||
|
|
||||||
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
|
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
|
||||||
use League\OAuth2\Server\Entities\ClientEntityInterface;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Access token interface.
|
* Access token interface.
|
||||||
@ -20,13 +19,9 @@ interface AccessTokenRepositoryInterface extends RepositoryInterface
|
|||||||
/**
|
/**
|
||||||
* Create a new access token
|
* Create a new access token
|
||||||
*
|
*
|
||||||
* @param \League\OAuth2\Server\Entities\ClientEntityInterface $clientEntity
|
|
||||||
* @param \League\OAuth2\Server\Entities\ScopeEntityInterface[] $scopes
|
|
||||||
* @param mixed $userIdentifier
|
|
||||||
*
|
|
||||||
* @return AccessTokenEntityInterface
|
* @return AccessTokenEntityInterface
|
||||||
*/
|
*/
|
||||||
public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null);
|
public function getNewToken();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Persists a new access token to permanent storage.
|
* Persists a new access token to permanent storage.
|
||||||
|
Loading…
Reference in New Issue
Block a user