diff --git a/php/AuthSCHClient.class.php b/php/AuthSCHClient.class.php
index b405fbe54561429a6ccd735e5c815eae368a2c5a..42ac4d2b8cef8fc5a8b9561e897832c4667263e0 100644
--- a/php/AuthSCHClient.class.php
+++ b/php/AuthSCHClient.class.php
@@ -34,8 +34,6 @@ class AuthSCHClient {
         } else {
             $this->tokens = $tokens;
         }
-        
-        return $this->getData();
     }
     
     public function __destruct() {
@@ -96,7 +94,7 @@ class AuthSCHClient {
 
     }
     
-    private function getData() {
+    public function getData() {
         return json_decode(file_get_contents(self::$host . 'api/view/scope/' . self::$scope . '?access_token=' . $this->tokens->access_token));
     }