Initialization
What is IDV Mobile
IDV (Identity Verification) is the flow that allows verifying and authenticating a person's identity through the capture and validation of biometric traits.
The flow is configured beforehand in the Facephi platform and it is executed in the application through its identifier (flowId).
Required dependencies
Below is the list of dependencies for the available components to integrate an IDV flow in iOS. Install only the capture components that have been licensed.
CocoaPods
// CORE
pod 'FPHISDKMainComponent', '~> $VERSION'
pod 'FPHISDKTrackingComponent', '~> $VERSION'
pod 'FPHISDKStatusComponent', '~> $VERSION'
pod 'FPHISDKTokenizeComponent', '~> $VERSION'
// CAPTURE COMPONENTS
pod 'FPHISDKSelphIDComponent', '~> $VERSION'
pod 'FPHISDKSelphiComponent', '~> $VERSION'
pod 'FPHISDKNFCComponent', '~> $VERSION'
pod 'FPHISDKCaptureComponent', '~> $VERSION'
pod 'FPHISDKVideoRecordingComponent', '~> $VERSION'To facilitate the integration process, a table is provided as evidence, which refers to the dependency of each component:
Selfie
FPHISDKSelphiComponent
SelphiController
Selfie (with IAD functionality)
FPHISDKSelphiIADComponent
SelphiController
Document
FPHISDKSelphIDComponent
SelphIDController
Video recording
FPHISDKVideoRecordingComponent
VideoRecordingController / StopVideoRecordingController
NFC
FPHISDKNFCComponent
NFCController
Swift Package Manager (SPM)
To facilitate the integration process, a table is provided as evidence, which refers to the dependency of each component:
Selfie (with IAD functionality)
[email protected]:facephi-clienters/SDK-Selphi_IAD_component-SPM.git
SelphiController
Video recording
[email protected]:facephi-clienters/SDK-VideoRecording-SPM.git
VideoRecordingController / StopVideoRecordingController
The SDK includes several libraries that add functionality.
Status -> Allows the SDK to display tutorial and diagnostic screens for each component, improving the user experience.
Tokenize -> Some services require the sending of tokenized assets. This library adds the tokenized values to the component response.
Initialize the SDK
The SDK works through a main controller (SDKController), which must be initialized correctly before any flow can be launched.
Facephi will provide the apiKey license required for initialization.
After a successful initialization, the application will have access to all flows configured for that project.
Launch an IDV flow
The IDV flow is launched through a FlowController, indicating:
The Flow ID configured in the platform (
flowId).The Customer ID (
customerId).The Authentication ID (
authenticationId). Only necessary if this is an authentication flow.The list of controllers that can participate in the process.
Examples of common controllers:
SelphiController→ Face capture.SelphIDController→ Document capture.StartVideoRecordingController/StopVideoRecordingController→ Process recording.
Check available flows
If you need to obtain the available flows before launching one of them, use:
The function returns a list with the flow identifier and its operation type.
Last updated