2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Abstract class for the authentication plugins
8 if (! defined('PHPMYADMIN')) {
12 /* This class extends the PluginObserver class */
13 require_once 'PluginObserver.class.php';
16 * Provides a common interface that will have to be implemented by all of the
17 * authentication plugins.
21 abstract class AuthenticationPlugin
extends PluginObserver
24 * Displays authentication form
28 abstract public function auth();
31 * Gets advanced authentication settings
35 abstract public function authCheck();
38 * Set the user and password after last checkings if required
42 abstract public function authSetUser();
45 * User is not allowed to login to MySQL -> authentication failed
49 abstract public function authFails();