XOOPS  2.6.0
Xoops\Core\Session\Fingerprint Class Reference
Inheritance diagram for Xoops\Core\Session\Fingerprint:
Inheritance graph

Public Member Functions

 checkSessionPrint (AttributeInterface $session)
 

Protected Member Functions

 takePrint ()
 

Protected Attributes

 $clientFingerprint = array()
 

Detailed Description

Definition at line 27 of file Fingerprint.php.

Member Function Documentation

Xoops\Core\Session\Fingerprint::checkSessionPrint ( AttributeInterface  $session)

This method manages the session fingerprint

Check current client Fingerprint against the values saved in the session. Save the current Fingerprint to the session Rate the fingerprint match pass/fail based on any changes On fail, clear the session, leaving only the new client fingerprint

Parameters
AttributeInterface$sessionsession manager object or another AttributeInterface implementing object
Returns
bool true if matched, false if not

Implements Xoops\Core\Session\FingerprintInterface.

Definition at line 66 of file Fingerprint.php.

References $_SESSION, $current, Xoops\Core\AttributeInterface\clear(), Xoops\Core\AttributeInterface\get(), Xoops\Core\AttributeInterface\set(), and Xoops\Core\Session\Fingerprint\takePrint().

Here is the call graph for this function:

Xoops\Core\Session\Fingerprint::takePrint ( )
protected

grab things from the http request we need to use.

Returns
string[] array of fingerprint values

Definition at line 41 of file Fingerprint.php.

References Xoops\Core\Session\Fingerprint\$clientFingerprint, and Xoops\Core\HttpRequest\getInstance().

Referenced by Xoops\Core\Session\Fingerprint\checkSessionPrint().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Xoops\Core\Session\Fingerprint::$clientFingerprint = array()
protected

Definition at line 34 of file Fingerprint.php.

Referenced by Xoops\Core\Session\Fingerprint\takePrint().


The documentation for this class was generated from the following file: