IdentityVerificationExt Interface
The IdentityVerificationExt interface enables you to verify a caller’s identity.
The id_verification.IdentityVerificationExt interface is called by the Verify Customer Identity flow.
To implement this interface, you must first declare a class with the implements keyword as follows:
Next, your class must also provide implementation for the following methods:
The method you implemented must be declared as global or public.
The following are methods for IdentityVerificationExt.
-
Returns the verification data that contains the columns to be verified.
-
Returns the search result that includes the verification data.
Returns the verification data that contains the columns to be verified.
public id_verification.VerificationContext getVerifiers(id_verification.VerificationContext var1)
- var1
Type: id_verification.VerificationContext
Contains information about the verification context, including the process definition, selected search result, selected verified result, and verified result.
Type: id_verification.VerificationContext
Returns the search result that includes the verification data.
public id_verification.SearchResult search(id_verification.SearchRequest var1)
- var1
Type: id_verification.SearchRequest
Contains information about the search request data. The search request represents search filters for object-based search, search terms for text-based search, and the verification context that includes the process definition, process details, and process fields.
Type: id_verification.SearchRequest
This example shows an implementation of the id_verification.IdentityVerificationExt interface.
The MockIdentityVerificationExt implements the id_verification.IdentityVerificationExt interface and MockIdentityVerificationExtHelper contains the logic for each method.
The following example tests the implementation: