summaryrefslogtreecommitdiff
path: root/classes/iauthmodule.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-08 19:11:31 +0300
committerAndrew Dolgov <[email protected]>2021-02-08 19:11:31 +0300
commit51d2deeea911e84ea2e56b78544445de22f881b9 (patch)
treeb4d769ada8fa871667771d0d9ec2c4a607f053bd /classes/iauthmodule.php
parentfc2e0bf67bb279b960fb50060b6a7b59f0e5afb2 (diff)
fix hierarchy of authentication modules, make everything extend Auth_Base and implement hook_auth_user() for pluginhost
Diffstat (limited to 'classes/iauthmodule.php')
-rw-r--r--classes/iauthmodule.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/iauthmodule.php b/classes/iauthmodule.php
index 2d0c98709..e714cc6ca 100644
--- a/classes/iauthmodule.php
+++ b/classes/iauthmodule.php
@@ -1,4 +1,5 @@
<?php
interface IAuthModule {
function authenticate($login, $password); // + optional third parameter: $service
+ function hook_auth_user(...$args); // compatibility wrapper due to how hooks work
}