__construct()
__construct(array $params = array())
Constructor.
Parameters
array | $params | Required parameters:
|
Throws
- \InvalidArgumentException
The Horde_Core_ActiveSync_Auth class provides a way to combine a globally configured configuration driver with a transparent driver like X509 certificates for ActiveSync authentication. Used to mimic Exchange's ability to require one, the other, or layer basic auth on top of client certs.
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
__construct(array $params = array())
Constructor.
array | $params | Required parameters:
|
authenticate(string $userId, array $credentials, boolean $login = true) : boolean
Find out if a set of login credentials are valid, and if requested, mark the user as logged in in the current session.
string | $userId | The userId to check. |
array | $credentials | The credentials to check. |
boolean | $login | Whether to log the user in. If false, we'll only test the credentials and won't modify the current session. Defaults to true. |
Whether or not the credentials are valid.