Class Horde_Core_Factory_SessionHandler
Factory for creating Horde_SessionHandler objects.
Copyright 2010-2012 Horde LLC (http://www.horde.org/)
-
Horde_Core_Factory_Injector
-
Horde_Core_Factory_SessionHandler
Methods summary
public
Horde_SessionHandler_Driver
|
#
create( Horde_Injector $injector )
Attempts to return a concrete instance based on $driver.
Attempts to return a concrete instance based on $driver.
Parameters
- $injector
- <p>$driver The type of concrete subclass to return
(case-insensitive).</p>
Returns
Horde_SessionHandler_Driver The newly created concrete
instance.
Throws
Horde_SessionHandler_Exception
|
public
array
|
#
readSessionData( string $session_data )
Reads session data to determine if it contains Horde authentication
credentials.
Reads session data to determine if it contains Horde authentication
credentials.
Parameters
- $session_data
- The session data.
Returns
array An array of the user's sesion information if
authenticated or false. The following information is
returned: userid, timestamp, remoteAddr, browser, apps.
|