Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maccuaa/intellitrust-admin-sdk

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maccuaa/intellitrust-admin-sdk

JavaScript client for @maccuaa/intellitrust-admin-sdk

  • 5.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
112
decreased by-18.84%
Maintainers
1
Weekly downloads
 
Created
Source

@maccuaa/intellitrust-admin-sdk@5.6.0

This is a TypeScript/JavaScript client for the Entrust Datacard IntelliTrust Administration API. This module can be used in the following environments:

  • Node.js
  • Webpack
  • Browserify

It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via package.json. (Reference)

Installation

npm install @maccuaa/intellitrust-admin-sdk --save

Usage

NOTE: Make sure to replace the configuration values in the examples with the values from your IntelliTrust account!

import * as AdminSDK from "@maccuaa/intellitrust-admin-sdk";

const basePath = "https://entrust.us.trustedauth.com";

// Admin API application credentials
const credentials: AdminSDK.AdminApiAuthentication = {
  applicationId: "792130ae-fe2a-4a83-beb6-afc4306ac9fe",
  sharedSecret: "b_Zv2IRQZe90ENkK59pzFQYrq1aZUJExvv4s7MJM53Q"
};

// Create a new instance of the API.
const sdk = new AdminSDK.API({
  basePath
});

// Authenticate to the Admin API application.
const authResponse = await sdk.authenticateAdminApiUsingPOST(credentials);

// Get the authToken from the response
const { authToken } = authResponse.data;

// Set the authToken so it can be used in all API calls
sdk.setApiKey(authToken);

// Exampe: List all Authentication API applications
const listResponse = await sdk.listAuthApiApplicationsUsingGET();

// Print the response
console.log(listResponse.data);

Help

For more information on how to use the APIs please refer to the IntelliTrust Administration API documentation.

Keywords

FAQs

Package last updated on 22 Feb 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc