diff options
| author | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-19 15:32:20 -0400 |
|---|---|---|
| committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-06-19 15:33:59 -0400 |
| commit | 8214e6e8377b0858092e48aba3ba2a01994be47f (patch) | |
| tree | cc810871a1a503e52cbcdb0bd09983f2eaabda52 /phpBB/includes/auth/provider_interface.php | |
| parent | f4def220ce00a6be06857d5bd9f164473c0411c4 (diff) | |
| download | forums-8214e6e8377b0858092e48aba3ba2a01994be47f.tar forums-8214e6e8377b0858092e48aba3ba2a01994be47f.tar.gz forums-8214e6e8377b0858092e48aba3ba2a01994be47f.tar.bz2 forums-8214e6e8377b0858092e48aba3ba2a01994be47f.tar.xz forums-8214e6e8377b0858092e48aba3ba2a01994be47f.zip | |
[feature/auth-refactor] Finish refactoring auth plugins
I believe that this commit should have final minimal changes needed
to replace the old auth plugins with the refactored auth plugins.
Added a few more elements to the interface based on the old auth
plugins. Documentation is not complete and need works on these new
elements.
PHPBB3-9734
Diffstat (limited to 'phpBB/includes/auth/provider_interface.php')
| -rw-r--r-- | phpBB/includes/auth/provider_interface.php | 19 |
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); } |
