MediaWiki  1.34.0
MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule Class Reference
Collaboration diagram for MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule:

Static Public Member Functions

static callback ( $user, &$preferences)
 

Protected Member Functions

 __construct ( $userRepo, $user, &$preferences)
 
 execute ()
 

Protected Attributes

array $preferences
 
User $user
 
OATHUserRepository $userRepo
 

Detailed Description

Definition at line 12 of file AuthModule.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule::__construct (   $userRepo,
  $user,
$preferences 
)
protected

Member Function Documentation

◆ callback()

static MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule::callback (   $user,
$preferences 
)
static

◆ execute()

MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule::execute ( )
protected

Definition at line 43 of file AuthModule.php.

References SpecialPage\getTitleFor(), and wfMessage().

Member Data Documentation

◆ $preferences

array MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule::$preferences
protected

◆ $user

User MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule::$user
protected

◆ $userRepo

OATHUserRepository MediaWiki\Extension\OATHAuth\Hook\GetPreferences\AuthModule::$userRepo
protected

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