mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Renamed getCurrentGrantType to getGrantType
This commit is contained in:
parent
0d173d4c35
commit
768dfb369c
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user