diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /lib/classes/auth_plugins/StudipAuthSSO.class.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/classes/auth_plugins/StudipAuthSSO.class.php')
| -rw-r--r-- | lib/classes/auth_plugins/StudipAuthSSO.class.php | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/lib/classes/auth_plugins/StudipAuthSSO.class.php b/lib/classes/auth_plugins/StudipAuthSSO.class.php deleted file mode 100644 index 752fa59..0000000 --- a/lib/classes/auth_plugins/StudipAuthSSO.class.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php -# Lifter007: TODO -# Lifter003: TODO -# Lifter010: TODO -/* - * StudipAuthSSO.class.php - abstract base class for SSO auth plugins - * Copyright (c) 2007 Elmar Ludwig, Universitaet Osnabrueck - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - */ - -/* - * Abstract base class for SSO authentication plugins. - */ -abstract class StudipAuthSSO extends StudipAuthAbstract -{ - /** - * @var string the descriptive name of the authentication plugin - */ - public $plugin_fullname; - - /** - * @var string a short description, when present it is shown on the login page - */ - public $login_description; - - /** - * Return the current username. - */ - abstract function getUser (); - - /** - * Check whether this user can be authenticated. The default - * implementation just checks whether $username is not empty. - */ - function isAuthenticated ($username, $password) - { - return !empty($username); - } - - /** - * SSO auth plugins cannot determine if a username is used. - */ - function isUsedUsername ($username) - { - return false; - } -} |
