# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# http://www.gnu.org/copyleft/gpl.html
+/**
+ * @defgroup ExternalUser ExternalUser
+ */
+
/**
* A class intended to supplement, and perhaps eventually replace, AuthPlugin.
* See: http://www.mediawiki.org/wiki/ExternalAuth
* assumed to at least support the concept of a user id (possibly not an
* integer), a user name (possibly not meeting MediaWiki's username
* requirements), and a password.
+ *
+ * @ingroup ExternalUser
*/
abstract class ExternalUser {
protected function __construct() {}
}
/**
- * @param $cookie string
* @return mixed ExternalUser, or false on failure
*/
public static function newFromCookie() {
*
* Multiple names may be provided. The keys of the inner arrays can be either
* 'password', or the name of any preference.
+ *
+ * @ingroup ExternalUser
*/
class ExternalUser_Hardcoded extends ExternalUser {
private $mName;
* might fail unexpectedly unless they both do the exact same validation.
* There may be other corner cases like this where this will fail, but it
* should be unlikely.
+ *
+ * @ingroup ExternalUser
*/
class ExternalUser_MediaWiki extends ExternalUser {
private $mRow, $mDb;