Method | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
_authenticate ( $userId, $credentials ) | ||
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. | |
hasCapability ( string $capability ) : boolean | Query the current Auth object to find out if it supports the given capability. | |
transparent ( ) : boolean | Automatic authentication. |
public __construct ( array $params = [] ) | ||
$params | array | Required parameters: - base_driver: (Horde_Auth_Base) The globally configured horde auth driver. REQUIRED - transparent_driver: (Horde_Auth_Base) The driver to perform transparent auth, such as X509. OPTIONAL. |
public authenticate ( string $userId, array $credentials, boolean $login = true ) : boolean | ||
$userId | string | The userId to check. |
$credentials | array | The credentials to check. |
$login | boolean | Whether to log the user in. If false, we'll only test the credentials and won't modify the current session. Defaults to true. |
return | boolean | Whether or not the credentials are valid. |
public hasCapability ( string $capability ) : boolean | ||
$capability | string | The capability to test for. |
return | boolean | Whether or not the capability is supported. |
public transparent ( ) : boolean | ||
return | boolean | Whether or not the client is allowed. |