Authenticate the user on an IMAP server. The server can be secured by SSL.
Namespace Domframework
/** User authentication against IMAP server
/** The application name
/** IMAP TCP port (143 by default)
/** IMAP SSL connection
/** IMAP SSL CheckCertificate
/** IMAP server
/** Check the availablity of the IMAP support in PHP
/** Try to authenticate the email/password of the user@param string $email
Email to authenticate@param string $password
Password to authenticate
/** Method to change the password@param string $oldpassword
The old password (to check if the user have the rights to change the password)@param string $newpassword
The new password to be recorded
/** Establish the connection to IMAP server. Don't do anything as the needed parameters are username and password
/** Return all the parameters recorded for the authenticate user
/** List all the users available in the database Return firstname, lastname, mail, with mail is an array
/** Method to disconnect the authenticated user
/** Method to overwrite the password (without oldpassword check) Must be reserved to the administrators. For the users, use changepassword method@param string $email
the user identifier to select@param string $newpassword
The new password to be recorded
/** Display the authentication page The message is displayed to the user in case of error The url is the caller url to go back if authentication is correct@param string $baseURL
The URL base to use for the links@param string|null $message
Message to display to the user@param string|null $url
URL to go back after successful authentication@param mixed $alreadyAuth
If the user is already authenticated, the value will be displayed if the user is coming on the page.