Manual:Hooks/AuthenticationAttemptThrottled
Appearance
| AuthenticationAttemptThrottled | |
|---|---|
| Available from version 1.43.0 (Gerrit change 1082247) called when a MediaWiki\Auth\Throttler has throttled an authentication attempt. | |
| Define function: | public static function onAuthenticationAttemptThrottled( string $type, ?string $username, ?string $ip ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"AuthenticationAttemptThrottled": "MediaWiki\\Extension\\MyExtension\\Hooks::onAuthenticationAttemptThrottled"
}
}
|
| Called from: | File(s): Auth/Throttler.php |
| Interface: | AuthenticationAttemptThrottledHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:AuthenticationAttemptThrottled extensions.