summaryrefslogtreecommitdiff
path: root/classes/iauthmodule.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/iauthmodule.php')
-rw-r--r--classes/iauthmodule.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/classes/iauthmodule.php b/classes/iauthmodule.php
index 39aae4cc2..dbf8c5587 100644
--- a/classes/iauthmodule.php
+++ b/classes/iauthmodule.php
@@ -3,14 +3,16 @@ interface IAuthModule {
/**
* @param string $login
* @param string $password
- * optional third string $service
+ * @param string $service
* @return int|false user_id
*/
- function authenticate($login, $password); // + optional third parameter: $service
+ function authenticate($login, $password, $service = '');
/** this is a pluginhost compatibility wrapper that invokes $this->authenticate(...$args) (Auth_Base)
- * @param mixed $args = ($login, $password, $service)
+ * @param string $login
+ * @param string $password
+ * @param string $service
* @return int|false user_id
*/
- function hook_auth_user(...$args);
+ function hook_auth_user($login, $password, $service = '');
}