$_session
$_session : \Horde_Kolab_Session
The session handler this instance provides with anonymous access.
A class to check if the given session is valid.
Copyright 2009-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
$_session : \Horde_Kolab_Session
The session handler this instance provides with anonymous access.
__construct(\Horde_Kolab_Session $session, mixed $auth)
Constructor.
\Horde_Kolab_Session | $session | The session that should be validated. |
mixed | $auth | The user ID or false if no user is logged in. |
validate(string $user = null) : boolean
Reset the current session information in case it does not match the authentication information anymore.
string | $user | The user the session information is being requested for. This is usually empty, indicating the current user. |
True if the session is still valid.
getSession() : \Horde_Kolab_Session
Return the session this validator checks.
The session checked by this validator.