Commit | Line | Data |
---|---|---|
35a39175 S |
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 | |
35a39175 | 18 | */ |
cb3cff5c S |
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); | |
35a39175 | 27 | } |