mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 23:10:17 +05:30
Updated getClientEntity now just requires the client ID and the grant type
This commit is contained in:
parent
186853390a
commit
fc53d636f5
@ -19,12 +19,10 @@ interface ClientRepositoryInterface extends RepositoryInterface
|
|||||||
/**
|
/**
|
||||||
* Get a client
|
* Get a client
|
||||||
*
|
*
|
||||||
* @param string $grantType The grant type used
|
|
||||||
* @param string $clientIdentifier The client's identifier
|
* @param string $clientIdentifier The client's identifier
|
||||||
* @param string|null $clientSecret The client's secret
|
* @param string $grantType The grant type used
|
||||||
* @param string|null $redirectUri The client's redirect URI
|
|
||||||
*
|
*
|
||||||
* @return \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface
|
* @return \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface
|
||||||
*/
|
*/
|
||||||
public function getClientEntity($grantType, $clientIdentifier, $clientSecret = null, $redirectUri = null);
|
public function getClientEntity($clientIdentifier, $grantType);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user