Import from NPM
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.
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.|
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.