MediaWiki  master
MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook:

Public Member Functions

 onChangeAuthenticationDataAudit ( $req, $status)
 This hook is called when a user changes their password. More...

Detailed Description

Stable to implement.

Definition at line 12 of file ChangeAuthenticationDataAuditHook.php.

Member Function Documentation

◆ onChangeAuthenticationDataAudit()

MediaWiki\SpecialPage\Hook\ChangeAuthenticationDataAuditHook::onChangeAuthenticationDataAudit (   $req,

This hook is called when a user changes their password.

No return data is accepted; this hook is for auditing only.

AuthenticationRequest$reqAuthenticationRequest object describing the change (and target user)
StatusValue$statusStatusValue with the result of the action
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner, and MediaWiki\Api\ApiHookRunner.

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