ZTM Integration Guide
Work in progress
Integrating with Sardine SDK
Prerequisites:
- Access to Sardine dashboard and Sardine docs Check with a Spidr team member if you need access.
If your program is utilizing Sardine for device and behavior checks, see below guide for installing the SDK:
- https://docs.sardine.ai/guides/integration/riskSDK/overview
- You'll need to use 'yarn' or 'npm' to pull the .npmrc file for authentication and private registry access
Once the SDK is installed you'll use it to:
- Initialize the SDK with the session key returned via '/session/create'. This ties the user's device to the session and allows device/behavior data to be associated with it.
- Upon user login you'll need to update the Sardine context with the user's Spidr userID.
- If you are performing an ad hoc check as per '/user/other', you'll need to update the SDK with the 'flowName' you are passing in.
Updated about 2 months ago
