Examples¶
Issuance and provisioning of Verifiable Credentials¶
These example showcase common scenarios for the issuance of verifiable credentials under different platforms.
-
Issue directly and send
node.js
Quickly issue a credential directly to your backend and send the issued credential to the user's wallet by specifying their email address. This example is performed on the backend.
-
Issue and exchange using CHAPI
node.js browser
Issue a credential directly at your backend and exchange the issued credential with the user by utilizing the Credential Handler API (CHAPI) via browser.
-
Cross Ecosystem Issuance
typescript
Go through the process of cross ecosystem issuance of verifiable credentials. We'll be creating a wallet and a credential offer in ecosystem A and creating a wallet and accepting the offer in ecosystem B.
-
Issue interactively and deliver out-of-band
Issue a credential offer in the backend and present it to the user. The user can accept or reject this offer using their authenticaton context.
Coming soon...
Requesting and sharing Verifiable Credentials¶
-
Request Verifiable Credential in browser using OIDC
node.js browser
This example shows how you can request a verifiable credential from the user directly from your native app in iOS or MacOS using OIDC
-
Request Verifiable Credential on iOS and MacOS
swift
This example shows how you can request a verifiable credential from the user directly from your native app in iOS or MacOS
Coming soon...
-
Request Verifiable Credential on Android
Coming soon...
Identity Document Verifications¶
-
Request Identity Document Verfication in browser
node.js browser
This example shows how you can request identity document verification using Trinsic Connect in a browser.
-
Request Identity Document Verification on iOS and MacOS
dotnet swift
This example shows how you can request identity document verification using Trinsic Connect on iOS and MacOS native platforms.
Coming soon...