diff --git a/src/Repositories/ClientRepositoryInterface.php b/src/Repositories/ClientRepositoryInterface.php index fc56c2f3..4653adaf 100644 --- a/src/Repositories/ClientRepositoryInterface.php +++ b/src/Repositories/ClientRepositoryInterface.php @@ -17,12 +17,12 @@ interface ClientRepositoryInterface extends RepositoryInterface * Get a client. * * @param string $clientIdentifier The client's identifier - * @param string $grantType The grant type used + * @param null|string $grantType The grant type used (if sent) * @param null|string $clientSecret The client's secret (if sent) * @param bool $mustValidateSecret If true the client must attempt to validate the secret unless the client * is confidential * * @return \League\OAuth2\Server\Entities\ClientEntityInterface */ - public function getClientEntity($clientIdentifier, $grantType, $clientSecret = null, $mustValidateSecret = true); + public function getClientEntity($clientIdentifier, $grantType = null, $clientSecret = null, $mustValidateSecret = false); }