MediaWiki
1.34.0
|
Public Member Functions | |
getDataFromUser (OATHUser $user) | |
getDescriptionMessage () | |
Return Message object for the short text to be displayed as description. More... | |
getDisableWarningMessage () | |
Module-specific text that will be shown when user is disabling the module, to warn of data-loss. More... | |
getDisplayName () | |
getManageForm ( $action, OATHUser $user, OATHUserRepository $repo) | |
getName () | |
Name of the module. More... | |
getSecondaryAuthProvider () | |
isEnabled (OATHUser $user) | |
Is this module currently enabled for the given user Arguably, module is enabled just by the fact its set on user but it might not be true for all future modules. More... | |
newKey (array $data) | |
verify (OATHUser $user, array $data) | |
Run the validation. More... | |
Definition at line 9 of file IModule.php.
MediaWiki\Extension\OATHAuth\IModule::getDataFromUser | ( | OATHUser | $user | ) |
MediaWiki\Extension\OATHAuth\IModule::getDescriptionMessage | ( | ) |
Return Message object for the short text to be displayed as description.
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
Referenced by MediaWiki\Extension\OATHAuth\Special\OATHManage\getGenericContent().
MediaWiki\Extension\OATHAuth\IModule::getDisableWarningMessage | ( | ) |
Module-specific text that will be shown when user is disabling the module, to warn of data-loss.
This will be shown alongside generic warning message.
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
MediaWiki\Extension\OATHAuth\IModule::getDisplayName | ( | ) |
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
Referenced by MediaWiki\Extension\OATHAuth\Special\OATHManage\getGenericContent().
MediaWiki\Extension\OATHAuth\IModule::getManageForm | ( | $action, | |
OATHUser | $user, | ||
OATHUserRepository | $repo | ||
) |
string | $action | |
OATHUser | $user | |
OATHUserRepository | $repo |
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
Referenced by MediaWiki\Extension\OATHAuth\Special\OATHManage\addCustomContent().
MediaWiki\Extension\OATHAuth\IModule::getName | ( | ) |
Name of the module.
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
Referenced by MediaWiki\Extension\OATHAuth\Special\OATHManage\ensureRequiredFormFields(), MediaWiki\Extension\OATHAuth\Special\OATHManage\getGenericContent(), MediaWiki\Extension\OATHAuth\Special\OATHManage\isModuleEnabled(), and MediaWiki\Extension\OATHAuth\Special\OATHManage\isModuleRequested().
MediaWiki\Extension\OATHAuth\IModule::getSecondaryAuthProvider | ( | ) |
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
Referenced by MediaWiki\Extension\OATHAuth\Auth\SecondaryAuthenticationProvider\getProviderForModule().
MediaWiki\Extension\OATHAuth\IModule::isEnabled | ( | OATHUser | $user | ) |
Is this module currently enabled for the given user Arguably, module is enabled just by the fact its set on user but it might not be true for all future modules.
OATHUser | $user |
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
MediaWiki\Extension\OATHAuth\IModule::newKey | ( | array | $data | ) |
MediaWiki\Extension\OATHAuth\IModule::verify | ( | OATHUser | $user, |
array | $data | ||
) |
Run the validation.
OATHUser | $user | |
array | $data |
Implemented in MediaWiki\Extension\OATHAuth\Module\TOTP.
Referenced by MediaWiki\Extension\OATHAuth\HTMLForm\TOTPDisableForm\onSubmit().