芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/tepakanyucatan.gob.mx/libraries/vendor/symfony/ldap/Adapter/ConnectionInterface.php
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Ldap\Adapter; use Symfony\Component\Ldap\Exception\AlreadyExistsException; use Symfony\Component\Ldap\Exception\ConnectionTimeoutException; use Symfony\Component\Ldap\Exception\InvalidCredentialsException; /** * @author Charles Sarrazin
*/ interface ConnectionInterface { /** * Checks whether the connection was already bound or not. * * @return bool */ public function isBound(); /** * Binds the connection against a user's DN and password. * * @throws AlreadyExistsException When the connection can't be created because of an LDAP_ALREADY_EXISTS error * @throws ConnectionTimeoutException When the connection can't be created because of an LDAP_TIMEOUT error * @throws InvalidCredentialsException When the connection can't be created because of an LDAP_INVALID_CREDENTIALS error */ public function bind(string $dn = null, string $password = null); }