AppConstants
struct AppConstants
AppConstants contains constants that represent the general configuration of the app.
-
API_SERVER_URL is the base URL of the SenseCrypt SDK server.
Declaration
Swift
static let API_SERVER_URL: String -
The probability threshold for passive liveness detection
Declaration
Swift
static let LIVENESS_THRESHOLD: Float -
AUTH_HEADER is the header key used for authentication. It is either the mobile api key or a JWT token.
Declaration
Swift
static let AUTH_HEADER: String -
SENSEPRINT_VERIFIER_AUTH_KEY is the verifier auth key used for SensePrint generation and verification. Set this to the unique value that you will use while creating the SenseCrypt QR code that can be scanned by the SenseCrypt SDK Leave this null if you do not want to use a verifier auth key When this is null, any verifier with an unset verifier auth key will be able to use the SenseCrypt SDK
Declaration
Swift
static let SENSEPRINT_VERIFIER_AUTH_KEY: String? -
ISSUERS_PUBLIC_KEY is the public key of the issuer used for SensePrint generation and verification. It must be set to be able to verify that SensePrints are issued by the correct issuer.
Declaration
Swift
static let ISSUERS_PUBLIC_KEY: String? -
INIT THE SDK This constant helps to initiatized the sdk wheather its offline or online
Declaration
Swift
static var INIT_SENSECRYPT_SDK: SdkMode -
Debug mode for saving images to see what type of images are getting stored while processing the face capture
Declaration
Swift
static let DEBUG_FOR_SAVING_IMAGES: Bool -
URLs that will download the all the models
Declaration
Swift
static let frBinFileName: String -
This variable enable the downloading of the model in application folder and fetching the models from that folder
Declaration
Swift
static let CUSTOM_MODEL_PATH: Bool -
URL to download fr model
Declaration
Swift
static let downloadURLForfr_nModel: String -
Undocumented
Declaration
Swift
static let AppConfigFileName: String -
URL for terms and services,privacy policy and contact us mentioned in the setting page
Declaration
Swift
static let TERMS_AND_SERVICES_URL: String -
Undocumented
Declaration
Swift
static let PRIVACY_POLICY_URL: String -
Undocumented
Declaration
Swift
static let CONTACT_US_URL: String