MediaWiki
master
AuthManagerVerifyAuthenticationHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Auth\Hook
;
4
5
use
MediaWiki\Auth\AuthenticationResponse
;
6
use
MediaWiki\Auth\AuthManager
;
7
use
MediaWiki\User\UserIdentity
;
8
16
interface
AuthManagerVerifyAuthenticationHook
{
57
public
function
onAuthManagerVerifyAuthentication
(
58
?
UserIdentity
$user,
59
AuthenticationResponse
&$response,
60
AuthManager
$authManager,
61
array $info
62
);
63
}
MediaWiki\Auth\AuthManager
This serves as the entry point to the authentication system.
Definition
AuthManager.php:117
MediaWiki\Auth\AuthenticationResponse
This is a value object to hold authentication response data.
Definition
AuthenticationResponse.php:38
MediaWiki\Auth\Hook\AuthManagerVerifyAuthenticationHook
This is a hook handler interface, see docs/Hooks.md.
Definition
AuthManagerVerifyAuthenticationHook.php:16
MediaWiki\Auth\Hook\AuthManagerVerifyAuthenticationHook\onAuthManagerVerifyAuthentication
onAuthManagerVerifyAuthentication(?UserIdentity $user, AuthenticationResponse &$response, AuthManager $authManager, array $info)
This hook is called before the end of a successful login or account creation attempt.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Auth\Hook
Definition
AuthenticationAttemptThrottledHook.php:3
includes
auth
Hook
AuthManagerVerifyAuthenticationHook.php
Generated on Sat Dec 21 2024 11:23:28 for MediaWiki by
1.10.0