mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-29 18:53:25 +05:30
Renamed getCurrentGrantType to getGrantType
This commit is contained in:
1 parent
0d173d4c35
commit
768dfb369c
1 file changed
+2
-2
@@ -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];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user