1.0.1 • Published 8 months ago
avsar-thirdparty-plugin v1.0.1
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");