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
Installation
NPM
npm i --save @identixone/apiYarn
yarn add @identixone/apiUsage
// 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();