MediaWiki  1.30.2
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. More...
 
 isLocked ()
 Indicate whether the user is locked. More...
 
 resetAuthToken ()
 

Private Attributes

User $user
 

Detailed Description

Since
1.27
Deprecated:
since 1.27

Definition at line 205 of file AuthManagerAuthPlugin.php.

Constructor & Destructor Documentation

◆ __construct()

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

Reimplemented from AuthPluginUser.

Definition at line 209 of file AuthManagerAuthPlugin.php.

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

Member Function Documentation

◆ getId()

MediaWiki\Auth\AuthManagerAuthPluginUser::getId ( )

Reimplemented from AuthPluginUser.

Definition at line 213 of file AuthManagerAuthPlugin.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 221 of file AuthManagerAuthPlugin.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 217 of file AuthManagerAuthPlugin.php.

References user.

◆ resetAuthToken()

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

Reimplemented from AuthPluginUser.

Definition at line 225 of file AuthManagerAuthPlugin.php.

References MediaWiki\Session\SessionManager\singleton(), and user.

Member Data Documentation

◆ $user

User MediaWiki\Auth\AuthManagerAuthPluginUser::$user
private

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