iOS SDK
Usage
Integrate Reclaim Protocol in Swift
Quickstart
Import module into your Swift file.
Create a request object
- You can get the
APP_IDandAPP_SECRETusing this guide - The
PROVIDER_IDis the proof you want the user to generate. You can see all the available providers here.
Start the verification flow
Verify Proofs
The returned result is a ReclaimVerification.Response object. This object contains a response that has proofs, exception, and the sessionId if the verification is successful.
If successful
If failure
The exception can be one of the following:
ReclaimVerificationError.cancelled: The verification was cancelled by the user.ReclaimVerificationError.dismissed: The verification was dismissed by the sdk.ReclaimVerificationError.failed(let error): The verification failed due to an error.ReclaimVerificationError.sessionExpired: The verification session expired.