Skip to content

client 3.0.0-6b53a5a6

Install from the command line:
Learn more about npm packages
$ npm install @arkavo-org/client@3.0.0-6b53a5a6
Install via package.json:
"@arkavo-org/client": "3.0.0-6b53a5a6"

About this version

An OpenTDF Library for Browsers and NodeJS Clients

This project packages a set of javascript modules that can write and read a variety of OpenTDF data formats, including NanoTDF, Dataset TDF, and the TDF3 with JSON envelopes.

Usage

  const oidcCredentials: RefreshTokenCredentials = {
    clientId: keycloakClientId,
    exchange: 'refresh',
    refreshToken: refreshToken,
    oidcOrigin: keycloakUrl,
  }
  const authProvider = await AuthProviders.refreshAuthProvider(oidcCredentials);
  const client = new NanoTDFClient(authProvider, access);
  const cipherText = await client.encrypt(plainText);
  const clearText = await client.decrypt(cipherText);

Examples

Review examples to see how to integrate. See Examples

Details


Assets

  • client-3.0.0-6b53a5a6.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0