MediaWiki
REL1_35
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
12
interface
SessionCheckInfoHook
{
27
public
function
onSessionCheckInfo
( &$reason, $info, $request, $metadata,
28
$data
29
);
30
}
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:42
MediaWiki\Session\Hook\SessionCheckInfoHook
Stable to implement.
Definition
SessionCheckInfoHook.php:12
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 Sat Apr 6 2024 00:07:49 for MediaWiki by
1.9.8