Introduction
In this class we will explore how the Extrimian API allows you to scan QR codes and process them to receive credentials, similar to what is done with the QuarkID agent, but using an API. This process is crucial to understand how we interact with digital credentials and DIDs (Decentralized Identifiers) through the Extrimian API.
Credentials Scanning and Receiving Process
First, the content of the QR code must be copied, which is the same one used to generate the QR code. This content is processed by a specific endpoint that requires two pieces of information: a DID and the message (the content of the QR code).
Processing Steps
- Copy QR Code Content: It starts by copying the content of the QR code, which will be used for the scanning process.
- Using the Processing Endpoint: A request is made to an endpoint that requires the DID and the message (QR content). This DID must be controlled by the Extrimian API.
- Asynchronous Processing: The process is completely asynchronous, requiring waiting a few moments for the operation to complete.
- List Credentials: Finally, another endpoint is accessed to list the credentials associated to the DID used, allowing to see the newly generated credential associated to the DID.