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 }
Value object returned by SessionProvider.
Definition: SessionInfo.php:37
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition: WebRequest.php:43
This is a hook handler interface, see docs/Hooks.md.
onSessionCheckInfo(&$reason, $info, $request, $metadata, $data)
Use this hook to validate a MediaWiki\Session\SessionInfo as it's being loaded from storage.