5.33.3 • Published 1 month ago

@maccuaa/intellitrust-admin-sdk v5.33.3

Weekly downloads
12
License
ISC
Repository
github
Last release
1 month ago

@maccuaa/intellitrust-admin-sdk@5.33.3

This is a JavaScript client for the Entrust Identity as a Service Administration API. This module can be used in the following environments:

  • Node.js
  • Webpack
  • Browserify

It can be used in both TypeScript and JavaScript projects.

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 Identity as a Service 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 Identity as a Service Administration API documentation.

5.33.3

1 month ago

5.33.1

2 months ago

5.33.0

3 months ago

5.32.0

6 months ago

5.31.0

8 months ago

5.29.0

1 year ago

5.30.0

11 months ago

5.28.0

1 year ago

5.27.0

1 year ago

5.26.0

2 years ago

5.25.0

2 years ago

5.24.0

2 years ago

5.23.0

2 years ago

5.22.0

2 years ago

5.21.0

2 years ago

5.19.0

3 years ago

5.17.0

3 years ago

5.16.0

3 years ago

5.15.0

3 years ago

5.13.0

3 years ago

5.12.0

4 years ago

5.11.0

4 years ago

5.10.0

4 years ago

5.9.0

4 years ago

5.8.0

4 years ago

5.7.2

4 years ago

5.7.1

4 years ago

5.7.0

4 years ago

5.6.0

4 years ago

5.5.0

4 years ago

5.4.0

4 years ago