SDKs

A growing number of SDKs for different languages, frameworks and platforms

Trimble ID SDKs

Trimble provides several SDKs for different languages and frameworks.

.NET

.NET SDK

The .NET SDK is a core helper library containing primitives and basic interaction with supported grant types. It is base library for OIDC and OAuth 2.0 related protocol operations. It provides,

  • Discovery of endpoints
  • Grant Types Token Providers
  • Token Validation
  • HTTP Client Handler to access a given API with the access token

Currently we support .NET standard 2.0 / .NET Framework > 4.6.1.

Javascript/Typescript

Javascript/Typescript SDK

The Javascript/Typescript SDK is a core helper library containing primitives and basic interaction with supported grant types. It is base library for OAuth 2.0 related protocol operations. It provides,

  • Discovery of endpoints
  • Grant Types Token Providers
  • Token Validation
  • HTTP Client Handler to access a given API with the access token

React

React SDK

The React SDK for implements a common React pattern for using Authorization Code flow in a React application

Install the via NPM using you favorite package manager and check out the GitHub Repo for complete documentation.

Terminal window
npm install @trimble-oss/trimble-id-react

Java

Java SDK

It is core helper library containing primitives and interaction with supported grant type token providers. It is base library for OAuth 2.0 related protocol operations. It provides,

Discovery of endpoints Grant Types Token Providers Token Refresh Token Validation HTTP Client Handler to access a given API with the access token

Python

Python SDK

Trimble Identity SDK for Python

Android

Android SDK

This library uses PKCE extension to OAuth which was created to secure authorization codes in public clients when custom URI scheme redirects are used. It features Token persistence, Trusted Web Activity(TWA) support and Managed users support (For organizational accounts where employees don’t have an email). With enabling TWA, Trimble’s authentication sign in can be rendered by the user’s browser running in full screen mode without the URL bar.

It orchestrates all the complexities by exposing easy method call for your needs.

CustomTabs are used for authorizing requests when Custom Tabs implementation is provided by a browser on the device (for example by Chrome). Otherwise, the default browser is used as a fallback.