MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSessionCheckInfo (&$reason, $info, $request, $metadata, $data) | |
Use this hook to validate a MediaWiki\Session\SessionInfo as it's being loaded from storage. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SessionCheckInfo" to register handlers implementing this interface.
Definition at line 15 of file SessionCheckInfoHook.php.
MediaWiki\Session\Hook\SessionCheckInfoHook::onSessionCheckInfo | ( | & | $reason, |
$info, | |||
$request, | |||
$metadata, | |||
$data ) |
Use this hook to validate a MediaWiki\Session\SessionInfo as it's being loaded from storage.
string | &$reason | Rejection reason to be logged |
SessionInfo | $info | MediaWiki\Session\SessionInfo being validated |
WebRequest | $request | WebRequest being loaded from |
array | bool | $metadata | Metadata array for the MediaWiki\Session\Session |
array | bool | $data | Data array for the MediaWiki\Session\Session |
Implemented in MediaWiki\HookContainer\HookRunner.