MediaWiki
REL1_39
SessionCheckInfoHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Session\Hook
;
4
5
use
MediaWiki\Session\SessionInfo
;
6
use
WebRequest
;
7
15
interface
SessionCheckInfoHook
{
30
public
function
onSessionCheckInfo
( &$reason, $info, $request, $metadata,
31
$data
32
);
33
}
MediaWiki\Session\SessionInfo
Value object returned by SessionProvider.
Definition
SessionInfo.php:37
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:44
MediaWiki\Session\Hook\SessionCheckInfoHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SessionCheckInfoHook.php:15
MediaWiki\Session\Hook\SessionCheckInfoHook\onSessionCheckInfo
onSessionCheckInfo(&$reason, $info, $request, $metadata, $data)
Use this hook to validate a MediaWiki\Session\SessionInfo as it's being loaded from storage.
MediaWiki\Session\Hook
Definition
SessionCheckInfoHook.php:3
includes
session
Hook
SessionCheckInfoHook.php
Generated on Mon Dec 23 2024 06:24:34 for MediaWiki by
1.10.0