PHP Class sspmod_ldap_Auth_Source_LDAP, simplesamlphp

See the ldap-entry in config-templates/authsources.php for information about configuration of this authentication source. This class is based on www/auth/login.php.
Inheritance: extends sspmod_core_Auth_UserPassBase
Show file Open project: simplesamlphp/simplesamlphp

Public Methods

Method Description
__construct ( array $info, array $config ) Constructor for this authentication source.

Protected Methods

Method Description
login ( string $username, string $password, array $sasl_args = null ) : array Attempt to log in using the given username and password.

Method Details

__construct() public method

Constructor for this authentication source.
public __construct ( array $info, array $config )
$info array Information about this authentication source.
$config array Configuration.

login() protected method

Attempt to log in using the given username and password.
protected login ( string $username, string $password, array $sasl_args = null ) : array
$username string The username the user wrote.
$password string The password the user wrote. param array $sasl_arg Associative array of SASL options
$sasl_args array
return array Associative array with the users attributes.