tru.ID logo
LoginSignup

SDKs, Tools & Sample Code

Docs

SDKs, Tools & Sample Code

SDKs

tru.ID Android SDK

The Android SDK enables a web request to be made over a cellular connection even when the device is connected to WiFi.

tru-ID/tru-sdk-android

tru.ID iOS SDK

The iOS SDK enables a web request to be made over a cellular connection even when the device is connected to WiFi.

tru.ID React Native SDK

The React Native SDK enables a web request to be made over a cellular connection even when the device is connected to WiFi. It makes use of the tru.ID iOS or Android SDKs depending on the target platform.

$ npm install @tru_id/tru-sdk-react-native

tru.ID Web SDK

The Web SDK performs the Check URL request flow. Due to web browser functionality restrictions the SDK cannot force a web request over a cellular connection. Instead, the application should inform the user to disable WiFi for the Check URL request. See thetru.ID Web SDK READMEfor more information.

$ npm install @tru_id/tru-sdk-web

Sample Code

Application Sample Code

Android Example App

The Android Example application demonstrates how to integrate and use the tru.ID Android SDK to add passwordless authentication to an application. The example relies upon a server application being in place.

iOS Example App

The iOS Example application demonstrates how to integrate and use the tru.ID iOS SDK to add passwordless authentication to an application. The example relies upon a server application being in place.

React Native Example App

The React Native Example applicate resides within the exampledirectory of the SDK repository. The example demonstrates how to integrate and use the tru.ID iOS SDK to add passwordless authentication to an application. The example relies upon a server application being in place.

Server Sample Code

Node.js

The Node.js server example demonstates how to integrate with a client application and the tru.ID APIs.

$ git clone https://github.com/tru-ID/server-example-node.git

Tools

tru.ID CLI

The tru CLI helps you setup and manage projects on the tru.ID platform. It also offers functionality to help you try out the tri.ID platform from the terminal.

$ npm install -g @tru_id/cli

tru-ID/tru-cli

tru.ID logo

Platform

Docs

DON'T MISS A BEAT — STAY ON THE DOT!

Keep current with industry news and updates from tru.ID.

Follow us on:

Made with ❤️ across the 🌍

© 2021 4Auth Limited. All rights reserved. tru.ID is the trading name of 4Auth Limited.