Adldap\Connections\ProviderInterface::connect PHP Method

connect() public method

If no username or password is specified, then the configured administrator credentials are used.
public connect ( string | null $username = null, string | null $password = null ) : Adldap\Connections\ProviderInterface
$username string | null
$password string | null
return Adldap\Connections\ProviderInterface
    public function connect($username = null, $password = null);