GenerateSensePrintModel
struct GenerateSensePrintModel : Hashable
This model is used for generating SensePrint, It is also used to transfer data between screens.
-
Clear text data is used for sending unencrypted data for the generation of SensePrint so while decrypting it does not required face to see the clear text data.
Declaration
Swift
public var cleartextData: [String : String]
-
Meta data is used to send users personal data and face data is required to decrypt the meta data.
Declaration
Swift
public var metadata: [String : String]
-
Password is used as a additinal security for SensePrint it is optional to use this parameter.
Declaration
Swift
public var password: String?
-
Record ID is a mandatory field for generation of the SensePrint.
Declaration
Swift
public var recordId: String
-
Required live face bool value is used when you want the user to present the live face while decrypting the SensePrint.
Declaration
Swift
public var requireLiveFace: Bool
-
Declaration
Swift
init(cleartextData: [String : String], metadata: [String : String], password: String? = nil, recordId: String, requireLiveFace: Bool)