IRMA console
This plugin contains a console based front-end for IRMA flows. It's mostly
useful for testing purposes or for use in nodejs
applications.
This plugin takes no special options or parameters to the start method. It will
render a QR code to either the local nodejs
terminal or the browser console.
Usage
const IrmaCore = require('@privacybydesign/irma-core');
const Console = require('@privacybydesign/irma-console');
const irma = new IrmaCore();
irma.use(Console);
irma.start();
The irma-console
plugin makes it possible for users to abort the session without
completing it. When using this plugin, the start
method of irma-core
will
reject its promise in this scenario using the callback message Aborted
.