$_data
$_data : array
The session data.
The Horde_Kolab_Session_Imap class relies on predefined Kolab user details and validates the credentials against the IMAP server only.
Copyright 2011-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.
$_imap : \Horde_Kolab_Session_Factory_Imap
The imap driver factory.
.
__construct(\Horde_Kolab_Session_Factory_Imap $imap, array $params)
Constructor.
\Horde_Kolab_Session_Factory_Imap | $imap | The imap driver factory. |
array | $params | Kolab configuration settings. |
connect(string $user_id = null, array $credentials = null) : NULL
Try to connect the session handler.
string | $user_id | The user ID to connect with. |
array | $credentials | An array of login credentials. For Kolab, this must contain a "password" entry. |
If the connection failed.