ca9045b748f6a69aeccc57ea38ea72cbb9364876
[GitHub/Stricted/speedport-hybrid-php-api.git] / ISpeedport.class.php
1 <?php
2
3 /**
4 * @author Jan Altensen (Stricted)
5 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
6 * @copyright 2015 Jan Altensen (Stricted)
7 */
8 interface ISpeedport {
9 /**
10 * login into the router with the given password
11 *
12 * @param string $password
13 */
14 public function login ($password);
15
16 /**
17 * get the csrf_token
18 */
19 public function getToken ();
20
21 /**
22 * check if we are logged in
23 *
24 * @param boolean $exception
25 */
26 public function checkLogin ($exception = true);
27 }