move to psr-4 autoloader
This commit is contained in:
18
classes/IAuthModule.php
Normal file
18
classes/IAuthModule.php
Normal 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 = '');
|
||||
}
|
||||
Reference in New Issue
Block a user