IAM Libraries
Identity Access and Management (IAM) Client Library
A TypeScript library that provides high-level functions related to the identity and access management (IAM) for all users, assets, organizations and applications that are anchored on the Energy Web Chain. This includes:
Management of Switchboard namespaces
DID/DID Document management
Creation and governance of organizations, applications and their associated roles. Once created, these are persisted on the IAM Cache Server
Claim requests, verification and issuance for role permissioning. Once created, claims are persisted on the IAM Cache Server
Staking functionality
Documentation Resources
Dependencies and Dependents
EW-DOS Dependencies | EW-DOS Dependents |
---|---|
Switchboard | |
DID Library
A class-based TypeScript library that provides an abstraction layer to manage and interact with DIDs and Verifiable Credentials on the Energy Web Chain.
The DID Library enables users to adopt and/or implement different DID methods, which promotes interoperability with other methods of decentralized identifiers. The DID library currently implements the ERC1056 standard for creating and updating identities on the blockchain.
The DID library interacts with the Energy Web Chain using the ethers.js library.
Documentation Resources
GitHub repository (includes documentation)
Dependencies and Dependents
EW-DOS Dependencies | EW-DOS Dependents |
---|---|
See an overview of all Identity and Access Management (IAM) components in EW-DOS here
Other Resources
Passport-DID-Auth
A backend class-based TypeScript library that allows other JavaScript/TypeScript applications to easily add authentication and authorization based on Switchboard roles to their applications. This allows any application to use Switchboard's decentralized approach to identity and access management.
Documentation Resources
Dependencies and Dependents
EW-DOS Dependencies | EW-DOS Dependents |
---|---|
Other Resources
You can refer to the Identity and Access Management (IAM) Client Examples application to see an example of Passport-DID-Auth integration into an application
EW Credentials Library
A multi-package library for CRUD operations specific to Energy Web Verifiable Credentials. The repository is a module-based library built with Lerna.
Package | Description |
---|---|
Code to verify role based verifiable credential. | |
Smart contract and client code specific to EnergyWeb IAM roles. | |
exposes code to support role/claim lifecycle. |
Last updated