The verification program decides what to check
Apps do not describe the check in code. They pass a program ID, and the verification program configured in the Developer Dashboard defines:
Changing what you require is a Dashboard change, not a code deploy.
The flow
- Challenge. Your backend creates a one-time random challenge (a nonce) for this attempt.
- Find and decrypt. AIR Kit finds the user’s matching credential in encrypted storage and decrypts it on the user’s device. AIR only handles ciphertext.
- Consent. The user sees exactly which claims will be shared. If they decline, nothing is shared.
- Present. AIR Kit builds the presentation: the issuer-signed credential with only the approved claims, plus the user’s signature over your challenge.
- Check. AIR Kit checks the presentation in the browser for a quick answer. Your backend then checks it properly before granting anything.
Ways to verify
In this section
What the verifier receives
The parts of a presentation and what each one proves.
Checking a presentation
What your backend checks, and why.
Results and errors
Every outcome and how to handle it.
Zero-knowledge verification
Proving conditions with Iden3 credentials.