Manual:Hooks/AuthenticationAttemptThrottled

Category:MediaWiki hooks#AuthenticationAttemptThrottled Category:Hooks added in MediaWiki 1.43.0#AuthenticationAttemptThrottled
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.phpCategory:MediaWiki hooks included in Throttler.php#AuthenticationAttemptThrottled
Interface: AuthenticationAttemptThrottledHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:AuthenticationAttemptThrottled extensions.

Category:Hooks added in MediaWiki 1.43.0 Category:MediaWiki hooks Category:MediaWiki hooks included in Throttler.php