MediaWiki  master
SessionCheckInfoHook.php
Go to the documentation of this file.
1 <?php
2 
4 
6 use WebRequest;
7 
30  public function onSessionCheckInfo( &$reason, $info, $request, $metadata,
31  $data
32  );
33 }
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\SessionCheckInfoHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SessionCheckInfoHook.php:15
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\SessionInfo
Value object returned by SessionProvider.
Definition: SessionInfo.php:37
MediaWiki\Session\Hook
Definition: SessionCheckInfoHook.php:3