Total Complexity | 9 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
2 | class Auth_Base { |
||
3 | private $pdo; |
||
4 | |||
5 | const AUTH_SERVICE_API = '_api'; |
||
6 | |||
7 | public function __construct() { |
||
9 | } |
||
10 | |||
11 | // Auto-creates specified user if allowed by system configuration |
||
12 | // Can be used instead of find_user_by_login() by external auth modules |
||
13 | public function auto_create_user($login, $password = false) { |
||
38 | } |
||
39 | |||
40 | public function find_user_by_login($login) { |
||
51 |