MediaWiki REL1_35
|
Stable to implement. More...
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. | |
Stable to implement.
Definition at line 12 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.