"ShopSphere Account Holder" DVR
Following the zkPass SDK guideline, Krisna defines the “ShopSphere Account Holder” DVR for user Jane Doe. The query of the DVR looks like the following:
The query contains four requirements or conditions for the "ShopSphere Account Holder" verification, which are explained below
iss == "http://oidc-provider.ShopSphere.com" This condition is to ensure that the DVR works on ShopSphere-issued ID token. The "iss" keyword stands for "issuer".
firstName == “Jane” This cross-reference condition is to ensure that the user is Jane Doe.
lastName == “Doe” This cross-reference condition is to ensure that the user is Jane Doe.
driverLicenseNumber == "DL00718256" This cross-reference condition is to ensure that the applicant is Jane Doe by verifying the expected driver's license number. The Krisna previously, through other means, had already acquired and verified Jane Doe’s driver's license number.
Upon receipt of a zkPass proof from the ShopSphere app, Krisna service backend calls the zkpass-client's verify_zkpass_proof function to authenticate the proof. A successful verification indicates that the user indeed has an account with ShopSphere.
Last updated