JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q90118F
  • License MIT

Library for work with identix server api

Package Exports

  • @identixone/api
  • @identixone/api/dist/IDXApi.node.js
  • @identixone/api/dist/IDXApi.web.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@identixone/api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Identix API JS library

Codacy BadgeKnown Vulnerabilities

Installation

NPM

npm i --save @identixone/api

Yarn

yarn add @identixone/api

Usage

// ES2015 module import:
import { createIDXRestApi, createIDXWsApi } from "@identixone/api";

// CommonJS module require:
const { createIDXRestApi, createIDXWsApi } = require("@identixone/api");

// REST
const IDXRestApi = createIDXRestApi({
  version: 1,
  token: "YOUR_IDENTIXONE_TOKEN",
});

// WebSocket
const IDXWsApi = createIDXWsApi({
  version: 1,
  token: "YOUR_IDENTIXONE_TOKEN",
});

IDXWsApi.connect();