MediaWiki REL1_32
MediaWiki\Auth\AuthManagerAuthPluginUser Class Reference
Inheritance diagram for MediaWiki\Auth\AuthManagerAuthPluginUser:
Collaboration diagram for MediaWiki\Auth\AuthManagerAuthPluginUser:

Public Member Functions

 __construct ( $user)
 
 getId ()
 
 isHidden ()
 Indicate whether the user is hidden.
 
 isLocked ()
 Indicate whether the user is locked.
 
 resetAuthToken ()
 

Private Attributes

User $user
 

Detailed Description

Since
1.27
Deprecated:
since 1.27

Definition at line 29 of file AuthManagerAuthPluginUser.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Auth\AuthManagerAuthPluginUser::__construct (   $user)

Reimplemented from AuthPluginUser.

Definition at line 33 of file AuthManagerAuthPluginUser.php.

References MediaWiki\Auth\AuthManagerAuthPluginUser\$user, and user.

Member Function Documentation

◆ getId()

MediaWiki\Auth\AuthManagerAuthPluginUser::getId ( )

Reimplemented from AuthPluginUser.

Definition at line 37 of file AuthManagerAuthPluginUser.php.

References user.

◆ isHidden()

MediaWiki\Auth\AuthManagerAuthPluginUser::isHidden ( )

Indicate whether the user is hidden.

Deprecated:
since 1.26, use the UserIsHidden hook instead.
Returns
bool

Reimplemented from AuthPluginUser.

Definition at line 45 of file AuthManagerAuthPluginUser.php.

References user.

◆ isLocked()

MediaWiki\Auth\AuthManagerAuthPluginUser::isLocked ( )

Indicate whether the user is locked.

Deprecated:
since 1.26, use the UserIsLocked hook instead.
Returns
bool

Reimplemented from AuthPluginUser.

Definition at line 41 of file AuthManagerAuthPluginUser.php.

References user.

◆ resetAuthToken()

MediaWiki\Auth\AuthManagerAuthPluginUser::resetAuthToken ( )
Deprecated:
since 1.28, use SessionManager::invalidateSessionForUser() instead.
Returns
bool

Reimplemented from AuthPluginUser.

Definition at line 49 of file AuthManagerAuthPluginUser.php.

References user.

Member Data Documentation

◆ $user

User MediaWiki\Auth\AuthManagerAuthPluginUser::$user
private

The documentation for this class was generated from the following file: