Manual:Hooks/SessionCheckInfo

Details

 * &$reason: (string) rejection reason to be logged
 * $info: being validated
 * $request: being loaded from
 * $metadata: (array|false) metadata array for the
 * $data: (array|false) data array for the Session

This hook is used to validate the current request against session metadata added by the hook. To reject the session, set  and return false.

A checking metadata for its own session does not need this hook; it should use its   method instead.