avsar-thirdparty-plugin
v1.0.1
Published
A plugin for third party websties to request verifiable credentials from a digital wallet.
Downloads
2
Readme
Third party website plugin for AVSAR wallet
Third party websites can request for specific type of credentials for a user
How to use
- Install the module
npm i avsar-thirdparty-plugin
- Import the module
import requestCredential from 'avsar-thirdparty-plugin';
- Call the function with suitable parameters
const result = await requestCredential('TypeOfCredential', "avsar-url/wallet-worker");
const result = await requestCredential('alumniCredential', "avsar-url/wallet-worker", "optional reason for request");