Adldap\AdldapInterface::connect PHP Method

connect() public method

If no username and password is given, then providers configured admin credentials are used.
public connect ( string | null $name = null, string | null $username = null, string | null $password = null ) : Adldap\Connections\ProviderInterface
$name string | null
$username string | null
$password string | null
return Adldap\Connections\ProviderInterface
    public function connect($name = null, $username = null, $password = null);