IronWeb SDK

The IronWeb SDK is a browser-based JavaScript library that integrates IronCore's privacy, security, and data control solution into your app.

Import from NPM

The IronWeb SDK is available on NPM under the package name @ironcorelabs/ironweb. This module includes the SDK in both ES6 Module and CommonJS format as well as a single minified ironweb.min.js.

Use as a standalone script

Use the IronWeb SDK as a standalone script that creates a global ironweb variable upon that contains all functionality. To import IronWeb as a standalone script include a resource such as Unpkg.

SDK Methods

The IronWeb SDK methods are grouped into namespaces to separate functionality.

Document Create, update, and manage access to your encrypted content.
Group Create and manage members and admins of your cryptographic groups.
User Manage the currently authenticated user of the SDK.
Codec Utility methods to handle data conversion between different formats.

Promises

Most IronWeb SDK methods utilize Promises as most operations are asynchronous in nature.

SDK Error and Error Codes

Most IronWeb SDK methods return a Promise. If an SDK operation fails the Promise that was created will reject with a SDKError that provides additional information about the error that occurred. Each SDKError has a specific error code that exposes information about the error that occurred.