New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

qlik-proxy-api

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qlik-proxy-api

Interact with Qlik Sense Proxy API (QSEoW)

latest
Source
npmnpm
Version
1.2.3
Version published
Weekly downloads
9
Maintainers
2
Weekly downloads
 
Created
Source

Qlik Sense Proxy API

Mocha Badge ko-fi

Node.js package to interact with Qlik Sense Proxy API (QSEoW)

Please check out the Wiki section for details and examples

Installation

npm install --save qlik-proxy-api

Note Node version >= 16.0.0

Usage

(Using certificates as authentication method)

import fs from "fs";
import https from "https";
import { QlikProxyApi } from "qlik-proxy-api";

// setup the httpsAgent
//   - read the certificates
//   - ignore certificate errors
const httpsAgentCert = new https.Agent({
  rejectUnauthorized: false,
  cert: fs.readFileSync(`path/to/client.pem`),
  key: fs.readFileSync(`path/to/client_key.pem`),
});

// create new instance or qlik-proxy-api
const proxyApi = new QlikProxyApi.client({
  host: "my-qs-host",
  port: 4243, // optional. default is 4243
  httpsAgent: httpsAgentCert,
  authentication: {
    user_dir: "SOME_USER_DIR",
    user_name: "SOME_USER_ID",
  },
});

// create new session for "USER_DIR\USER_ID" in the default virtual proxy
const session = await proxyApi.sessions.add("USER_ID", "USER_DIR");

console.log(session.details.SessionId);

Methods

Developer documentation for all methods can be found here for list of methods

NOT AFFILIATED WITH QLIK

Keywords

proxy

FAQs

Package last updated on 29 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts