IDentitySDK

public class IDentitySDK

Documentation for the IDentitySDK.framework methods and parameter overrides.

  • Initializes the IDentitySDK framework.

    Declaration

    Swift

    public class func initializeSDK(/*loginId: String,
                                    password: String,
                                    merchantId: String,*/
                                    language: Language = .en,
                                    isGPSEnabled: Bool = true,
                                    isUpdateModelsData: Bool = true,
                                    accessToken: String,
                                    completion: @escaping ErrorCompletion)

    Parameters

    language

    User Interface Language. Default is en (English).

    isGPSEnabled

    set true / false to enable disbale location

    isUpdateModelsData

    Whether or not to download the latest SDK models after credential verification. Default is true.

    accessToken

    accessToken generated at user

    completion

    If Error? is nil, the SDK was initialized successfully.

Document Capture

  • Captures an additional document.

    Declaration

    Swift

    public class func documentCapture(from presenter: UIViewController, documentName name: String, processAsPOA: ProcessAsPOA?, uploadDocument: Bool = false, completion: @escaping DocumentCaptureCompletion)

    Parameters

    presenter

    UIViewController to present the flow from.

    name

    Additional document name.

    uploadDocument

    Additional document.

    processAsPOA

    processAsPOA description

    completion

    Returns a AdditionalDocumentsRequest to send to the server.

  • RESTful API base URL. Default is: https://api.idmission.com/

    Declaration

    Swift

    static var apiBaseUrl: String { get set }
  • Declaration

    Swift

    public static var fingerprintDetectionModelName: String { get }
  • Declaration

    Swift

    public static var focusModelName: String { get }
  • Declaration

    Swift

    public static var focusFaceModelName: String { get }
  • Version of the SDK.

    Declaration

    Swift

    public static var version: String { get }
  • Plugin or platform name of the application.

    Declaration

    Swift

    public static var pluginName: String
  • Declaration

    Swift

    public static var requestID: String { get }

ID Validation (20)

Live Face Check (660)

  • Live Face Detection features the ability to perform of a liveness check of the photo image that is sent via API.

    Declaration

    Swift

    public class func liveFaceCheck(from presenter: UIViewController, completion: @escaping LiveFaceCheckCompletion)

    Parameters

    presenter

    UIViewController to present the flow from.

    completion

    Returns a CustomerLiveCheckRequest to send to the server.

Enroll Biometric (175)

Customer Verification (105)

Customer Biometric Verification (185)

  • Capture biometric data for a Customer (face, fingerprint, voice or iris) and search the customer DB to see if its already enrolled.

    Declaration

    Swift

    public class func identifyCustomer(from presenter: UIViewController, completion: @escaping CustomerIdentifyCompletion)

    Parameters

    presenter

    UIViewController to present the flow from.

    completion

    Returns a CustomerIdentifyRequest to send to the server.

ID Validation and Face Match (10)

Enroll Customer with ID Validation (50)

Document Capture

Video ID

Voice Capture

  • Captures voice audio data.

    Declaration

    Swift

    public class func voiceCapture(from presenter: UIViewController, completion: @escaping VoiceCaptureCompletion)

    Parameters

    presenter

    UIViewController to present the flow from.

    completion

    Returns an audio file URL.