From 7a646d3a84dbcfbfeb3cb606d815de414360cc3f Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Tue, 5 Feb 2013 14:47:54 +0000 Subject: [PATCH] Renamed client get function --- src/OAuth2/Grant/ClientCredentials.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OAuth2/Grant/ClientCredentials.php b/src/OAuth2/Grant/ClientCredentials.php index 75380819..c2325e81 100644 --- a/src/OAuth2/Grant/ClientCredentials.php +++ b/src/OAuth2/Grant/ClientCredentials.php @@ -46,7 +46,7 @@ class ClientCredentials implements GrantTypeInterface { } // Validate client ID and redirect URI - $clientDetails = AuthServer::getStorage('client')->get($authParams['client_id'], $authParams['client_secret']); + $clientDetails = AuthServer::getStorage('client')->getClient($authParams['client_id'], $authParams['client_secret']); if ($clientDetails === false) { throw new Exception\ClientException(AuthServer::getExceptionMessage('invalid_client'), 8);