diff --git a/src/Oauth2/Server.php b/src/Oauth2/Server.php index 99dcf214..9f3473ea 100644 --- a/src/Oauth2/Server.php +++ b/src/Oauth2/Server.php @@ -253,7 +253,7 @@ maintenance of the server.', * @param string $accessToken The access token (default = null) * @return string An authorisation code */ - public function newAuthCode( + private function newAuthCode( $clientId, $type = 'user', $typeId,