@maccuaa/intellitrust-auth-sdk@5.37.0
This is a JavaScript client for the Entrust Identity as a Service Authentication API. This module can be used in the following environments:
It can be used in both TypeScript and JavaScript projects.
Installation
npm install @maccuaa/intellitrust-auth-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 AuthSDK from "@maccuaa/intellitrust-auth-sdk";
const basePath = "https://entrust.us.trustedauth.com";
const queryParms: AuthSDK.UserAuthenticateQueryParameters = {
userId: "john.doe",
applicationId: "d2f37667-253b-4260-aab1-6131f1d83fe4"
};
const sdk = new AuthSDK.API({
basePath
});
const response = await sdk.userAuthenticatorQueryUsingPOST(queryParms);
console.log(response.data);
Help
For more information on how to use the APIs please refer to the Identity as a Service Authentication API documentation.