Renamed getCurrentGrantType to getGrantType

This commit is contained in:
Alex Bilbie 2013-02-04 18:30:56 +00:00
parent 0d173d4c35
commit 768dfb369c

View File

@ -280,10 +280,10 @@ class AuthServer
}
// Complete the flow
return $this->getCurrentGrantType($authParams['grant_type'])->completeFlow($inputParams, $authParams);
return $this->getGrantType($authParams['grant_type'])->completeFlow($inputParams, $authParams);
}
protected function getCurrentGrantType($grantType)
protected function getGrantType($grantType)
{
return self::$grantTypes[$grantType];
}