update some stuff
[GitHub/Stricted/speedport-hybrid-php-api.git] / ISpeedport.class.php
index a613483dc14c685ade45dc0d047a44e79e6519ef..ca9045b748f6a69aeccc57ea38ea72cbb9364876 100644 (file)
@@ -15,8 +15,13 @@ interface ISpeedport {
        
        /**
         * get the csrf_token
-        * 
-        * @return      string
         */
-       protected function getToken ();
+       public function getToken ();
+       
+       /**
+        * check if we are logged in
+        *
+        * @param       boolean $exception
+        */
+       public function checkLogin ($exception = true);
 }