move to psr-4 autoloader

This commit is contained in:
Andrew Dolgov
2023-10-25 12:55:09 +03:00
parent 0a5507d3bd
commit 865ecc8796
75 changed files with 147 additions and 151 deletions

18
classes/IAuthModule.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
interface IAuthModule {
/**
* @param string $login
* @param string $password
* @param string $service
* @return int|false user_id
*/
function authenticate($login, $password, $service = '');
/** this is a pluginhost compatibility wrapper that invokes $this->authenticate(...$args) (Auth_Base)
* @param string $login
* @param string $password
* @param string $service
* @return int|false user_id
*/
function hook_auth_user($login, $password, $service = '');
}