🚨 Deprecated Documentation 🚨 Please note that this documentation is no longer being updated.
Verification is used when you want to verify if a beneficiary is who they say they are (1:1 search). Simprints will match the biometrics collected against those enrolled for a particular beneficiary.
To verify an existing beneficiary using Simprints ID, you will first need to select the beneficiary record (verify GUID) that you are trying to verify their biometrics against. You can use an existing secondary unique identifier (e.g. first name, phone number) to find the beneficiary record for verification.
In your custom Android application you will need to define the verify GUID you would like to verify a beneficiary against
Step 1: Using the Constants file in LibSimprints, define the Verify GUID
Verify GUID:
Constants.SIMPRINTS_VERIFY_GUID
*You should link this to the secondary unique identifier used to determine the record that needs to be verified
Next, you will need to build an Intent using SimHelper:
Step 2: Create a verify Intent to Simprints ID:
Intent intent = simHelper.verify("Module ID", "Verify person's GUID");
startActivityForResult(intent, 1); // 1 is your request code for the callback
After collecting a beneficiary's biometrics and matching it to the previously enrolled biometrics, you will want to retrieve the match score and tier. This will provide a verification on whether the beneficiary is who they say they are. To add a check on whether a user has completed a Simprints flow, use the Biometrics Complete check boolean. To find out more about Biometrics Complete* check, click here.
Step 3: Extract the match score and tier:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
// Here we check the request + result code
// We can pull the score using LibSimprints by creating a verification
// object from the returned Intent data, and retrieving the confidence
// score.
Verification verification =
data.getParcelableExtra(Constants.SIMPRINTS_VERIFICATION);
verification.getGuid();
verification.getConfidence();
verification.getTier();
Boolean check = data.getBooleanExtra(Constants.SIMPRINTS_BIOMETRICS_COMPLETE_CHECK);
String sessionId = data.getStringExtra(Constants.SIMPRINTS_SESSION_ID);
}
*You must add logic in your application, to only allow a user to continue in their workflow if biometricsCompleteCheck = True.