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