Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Classes

  • Fingerprint
  • Handler
  • Manager
  • RememberMe
  • SessionUser

Interfaces

  • FingerprintInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class Fingerprint

Session management

Xoops\Core\Session\Fingerprint implements Xoops\Core\Session\FingerprintInterface
Namespace: Xoops\Core\Session
Package: Fingerprint
Category: Xoops\Core\Session
Copyright: 2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Session/Fingerprint.php
Methods summary
protected string[]
# takePrint( )

grab things from the http request we need to use.

grab things from the http request we need to use.

Returns

string[]
array of fingerprint values
protected string
# makeInert( string $value )

Neutralize some sequences that might be used to slip nefarious bits into our fingerprint. This does not impair the similarity check, but does interfere with serialized object injection.

Neutralize some sequences that might be used to slip nefarious bits into our fingerprint. This does not impair the similarity check, but does interfere with serialized object injection.

Parameters

$value
fingerprint string to be escaped

Returns

string
public boolean
# checkSessionPrint( Xoops\Core\AttributeInterface $session )

This method manages the session fingerprint

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

$session

session manager object or another AttributeInterface implementing object

Returns

boolean
true if matched, false if not

Implementation of

Xoops\Core\Session\FingerprintInterface::checkSessionPrint()
Properties summary
protected string $clientFingerprint

The current request's client IP

The current request's client IP

# array()
API documentation generated by ApiGen