aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth/provider_interface.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/auth/provider_interface.php')
-rw-r--r--phpBB/includes/auth/provider_interface.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/phpBB/includes/auth/provider_interface.php b/phpBB/includes/auth/provider_interface.php
index a789dccce7..534f198c21 100644
--- a/phpBB/includes/auth/provider_interface.php
+++ b/phpBB/includes/auth/provider_interface.php
@@ -57,6 +57,25 @@ interface phpbb_auth_provider_interface
/**
* This function is used to output any required fields in the authentication
* admin panel. It also defines any required configuration table fields.
+ *
+ * @param type $new
*/
public function acp($new);
+
+ /**
+ * Special logout function.
+ *
+ * @param type $data
+ * @param type $new_session
+ */
+ public function logout($data, $new_session);
+
+ /**
+ * The session validation function checks whether the user is still logged in.
+ *
+ * @param type $user
+ * @return boolean true if the given user is authenticated, false if the
+ * session should be closed, or null if not implemented.
+ */
+ public function validate_session($user);
}