Overview
Explore how PassScan facilitates seamless identity verification by allowing you to access user information and utilize the generated passport ID efficiently. Use the PassScan menu item within the Passport JS SUI SDK to securely verify identities.
Displaying Passport ID programmatically
To display the Sign Out page programmatically in Credenza, you can use the passport.openUI function. This function allows you to navigate to different pages within the application using code.
To open the Passport ID page, use the following code snippet:
passport.openUI(Passport.pages.PASSPORT_ID);
The passport.openUI function takes a parameter specifying the page to navigate to. In this case, Passport.pages.PASSPORT_ID is used to specify the Passport ID page.
Generated Passport ID
The generated passport ID serves as a unique identifier for users within the Credenza platform. When the passport ID is scanned using PassScan, it retrieves the user's verified information from the blockchain. This makes it possible to confirm the identity quickly and accurately. The QR code containing the passport ID can be refreshed if necessary to ensure up-to-date information. PassScan interacts with this QR code to validate user credentials without requiring manual input, providing a seamless verification experience.
Use PassScan
Navigate to PassScan
To access the PassScan feature, navigate to the sidebar menu on the left side of the screen. From there, select the PassScan menu item. This will take you to the PassScan functionality.
Verify Identity with QR Code
To verify your identity using the QR code displayed in the modal, hold your device in front of the scanner. The QR code contains your unique ID, allowing the system to confirm your identity. If the displayed QR code has expired, you can select the Refresh code button to generate a new code for updated verification.