diff --git a/src/oauth2server/Server.php b/src/oauth2server/Server.php index 73cda428..b3fb984a 100644 --- a/src/oauth2server/Server.php +++ b/src/oauth2server/Server.php @@ -179,7 +179,7 @@ class Server return $params; } - function newAuthoriseRequest(string $typeId, array $authoriseParams) + public function newAuthoriseRequest(string $typeId, array $authoriseParams) { // Check if the user already has an access token $accessToken = $this->db->hasAccessToken($userId,