Added $mustValidateSecret parameter to ClientRepositoryInterface:: getClientEntity(). Fixes #550

This commit is contained in:
Alex Bilbie
2016-04-18 08:32:49 +01:00
parent 5b192b3548
commit fb8f47e868
4 changed files with 14 additions and 7 deletions

View File

@@ -161,7 +161,8 @@ abstract class AbstractGrant implements GrantTypeInterface
$client = $this->clientRepository->getClientEntity(
$clientId,
$this->getIdentifier(),
$clientSecret
$clientSecret,
true
);
if (!$client instanceof ClientEntityInterface) {