fix hierarchy of authentication modules, make everything extend Auth_Base and implement hook_auth_user() for pluginhost
parent
fc2e0bf67b
commit
51d2deeea9
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
interface IAuthModule {
|
interface IAuthModule {
|
||||||
function authenticate($login, $password); // + optional third parameter: $service
|
function authenticate($login, $password); // + optional third parameter: $service
|
||||||
|
function hook_auth_user(...$args); // compatibility wrapper due to how hooks work
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue