waci-pex (Typescript)
Warning: This package still is in every early development. Breaking changes without notice will happen at this point!
waci-pex
A Veramo
plugin to create SSI QR code and to Verify using SIOPv2
or OIDC4
. This plugin component is only supporting react and react-native frameworks.
It will be possible in future to request the issuer to issue credentials.
Installation
yarn add @sphereon/waci-pex
Build
yarn build
Usage
The usage scenario will include the plugin code to be integrated in the client code. A party will be requesting the recipient to either:
- authenticate itself to the requester
- inviting the issuer to issue a credential
The data fields required to generate the QR code will depend on the type of request and the acceptable values. The possible accept
value may be:
oidc4vp
siop+oidc4vp
siopv2
-
didcomm/v2
( in future )
The data fields will need to be passed in SsiQrCodeProps.authenticationRequestOpts.state
: string.