class ldap_authentication in Lightweight Directory Access Protocol (LDAP) 6
LDAP Authentication Class
This class is used to properly authenticate to an LDAP server.
Hierarchy
- class \ldap_authentication
Expanded class hierarchy of ldap_authentication
3 string references to 'ldap_authentication'
- ldap_authentication_install in ldap_authentication/
ldap_authentication.install - Implementation of hook_install().
- ldap_authentication_uninstall in ldap_authentication/
ldap_authentication.install - Implementation of hook_uninstall().
- _ldap_api_get_ldap_settings in ./
ldap_api.admin.inc
File
- includes/
ldap.authentication.inc, line 14 - Defines the authentication class and related functions.
View source
class ldap_authentication {
/**
* Constructor Method
*/
function __construct() {
}
/**
* Destructor Method
*/
function __destruct() {
}
/**
* Invoke Method
*/
function __invoke() {
}
/**
* Error Handling Method
*
* @param int errno
* The level of the error raised.
*
* @param string errstr
* The error message.
*
* @param string errfile
* The filename that the error was raised in.
*
* @param int errline
* The line number the error was raised at.
*
* @param array errcontext
* An array of every variable that existed in the scope the error was
* triggered in.
*
* @return bool
* Always return TRUE to avoid PHP's builtin handler.
*/
function error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
return TRUE;
}
/**
* Perform LDAP authentication
*
* @parm
* @return boolean
* TRUE if authentication succeeds, FALSE otherwise.
*/
function authenticate($user, $pass) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ldap_authentication:: |
function | Perform LDAP authentication | ||
ldap_authentication:: |
function | Error Handling Method | ||
ldap_authentication:: |
function | Constructor Method | ||
ldap_authentication:: |
function | Destructor Method | ||
ldap_authentication:: |
function | Invoke Method |