Renamed client get function

This commit is contained in:
Alex Bilbie 2013-02-05 14:47:54 +00:00
parent 14a7142ad7
commit 7a646d3a84

View File

@ -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);