MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onAuthenticationAttemptThrottled (string $type, ?string $username, ?string $ip) | |
This hook is called when a Throttler has throttled an authentication attempt. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AuthenticationAttemptThrottled" to register handlers implementing this interface.
Definition at line 12 of file AuthenticationAttemptThrottledHook.php.
MediaWiki\Auth\Hook\AuthenticationAttemptThrottledHook::onAuthenticationAttemptThrottled | ( | string | $type, |
?string | $username, | ||
?string | $ip ) |
This hook is called when a Throttler
has throttled an authentication attempt.
An authentication attempt includes account creation, logins, and temporary account auto-creation.
string | $type | The name of the authentication throttle that caused the throttling |
string | null | $username | The username associated with the action that was throttled, or null if not relevant. |
string | null | $ip | The IP used to make the action that was throttled, or null if not provided. |
Implemented in MediaWiki\HookContainer\HookRunner.