MediaWiki  master
MediaWiki\Api\Hook\ApiValidatePasswordHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Api\Hook\ApiValidatePasswordHook:

Public Member Functions

 onApiValidatePassword ( $module, &$r)
 This hook is called from ApiValidatePassword. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ApiValidatePassword" to register handlers implementing this interface.

Stable to implement

Definition at line 14 of file ApiValidatePasswordHook.php.

Member Function Documentation

◆ onApiValidatePassword()

MediaWiki\Api\Hook\ApiValidatePasswordHook::onApiValidatePassword (   $module,
$r 
)

This hook is called from ApiValidatePassword.

Since
1.35
Parameters
ApiValidatePassword$module
array&$rResult array
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Api\ApiHookRunner.


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