Collection - Usage Examples

👍

SDK v2.0.0 and above launches with a session token minted by your backend — see SDK Session Tokens. The product to verify is chosen when your backend mints the session (productCode).

Launch a QoreID service verification in Collection mode

Mint a session on your backend with the product code of the service you want to verify, then launch the SDK with the resulting token. Optionally provide details about the identity data and applicant data. If not provided, the user will be prompted to enter the values in a form.

let param = QoreIDParam()
         .sessionToken(sessionToken) // from your backend (POST /v1/sessions)
         .inputData(inputData)
         .build()

QoreIdSdk.shared.launch(param: param, vc: self) { [weak self] result in
            
        }

VeriFind address verification in Collection mode

Mint a session on your backend with "productCode": "verifind", pass the sdkSessionToken to your app, then launch. Optionally provide details about the applicant and address data. If not provided, the user will be prompted to enter the values in a form.

let param = QoreIDParam()
            .sessionToken(sessionToken) // token minted with productCode "verifind"
            .inputData(inputData)
            .build()

 QoreIdSdk.shared.launch(param: param, vc: self) { [weak self] result in
            
        }
🔅

See Verifind Permissions to include in your Manifest if you intend to use Verifind.

👍

See the Product Codes section for more info about product codes you can use when minting a session