Renamed getCurrentGrantType to getGrantType

This commit is contained in:
Alex Bilbie committed 2013-02-04 18:30:56 +00:00
1 parent 0d173d4c35
commit 768dfb369c
1 file changed
+2 -2
+2 -2
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];
}