PHP Класс sspmod_ldap_Auth_Source_LDAPMulti, 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.
Наследование: extends sspmod_core_Auth_UserPassOrgBase
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array $info, array $config ) Constructor for this authentication source.

Защищенные методы

Метод Описание
getOrganizations ( ) : array Retrieve list of organizations.
login ( string $username, string $password, string $org, array $sasl_args = null ) : array Attempt to log in using the given username and password.

Описание методов

__construct() публичный Метод

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

getOrganizations() защищенный Метод

Retrieve list of organizations.
protected getOrganizations ( ) : array
Результат array Associative array with the organizations.

login() защищенный Метод

Attempt to log in using the given username and password.
protected login ( string $username, string $password, string $org, array $sasl_args = null ) : array
$username string The username the user wrote.
$password string The password the user wrote.
$org string The organization the user chose.
$sasl_args array
Результат array Associative array with the users attributes.