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
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.
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);
Review examples to see how to integrate. See Examples
Details
- client
- arkavo-org
- over 1 year ago
- BSD-3-Clause-Clear
- 40 dependencies
Assets
- client-3.0.0-6b53a5a6.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0