TypeScript References
Types
FaceAuthenticatorResponse
FaceAuthenticatorResponse
cancelled
boolean
Shows when user cancel the authentication.
isLoading
boolean
Shows when the face authentication is loading.
FaceAuthenticatorResult
FaceAuthenticatorResult
signedResponse
string
The signed response confirming the captured selfie is genuine.
FaceAuthenticatorError
FaceAuthenticatorError
description
string
Detailed error message.
errorType
string
Enum describing the type of error.
message
string
Detailed error message.
FaceAuthenticatorSettings
FaceAuthenticatorSettings
enableScreenshots
boolean
Used to enable screenshots during the SDK scan. Disabled by default for security reasons.
✅
✅
loadingScreen
boolean
Used to enable a default loading progressbar during loading events.
✅
✅
certificates
string[]
Used to set pinned certificates for reverse proxy implementation.
❌
✅
livenessBaseUrl
string
Used to enable the use of reverse proxy to execute liveness. If used, the certificates must be set with the setCertificates method.
❌
✅
authenticationBaseUrl
string
Used to enable the use of reverse proxy to execute SDK's authentications.
❌
✅
Enums
Stage
Stage
BETA
Beta environment.
✅
✅
PROD
Production environment.
✅
✅
Filter
Filter
LINE_DRAWING
Alternative mask for face liveness.
✅
✅
NATURAL
Normal mask for face liveness.
✅
✅
Time
Time
THREE_HOURS
Image url expiration time expires in three hours.
✅
✅
THIRTY_DAYS
Image url expiration time expires in thirty days.
✅
✅
THIRTY_MIN
Image url expiration time expires in thirty minutes.
❌
✅
Error
Error
UnknownException
Indicates an unknown issue.
✅
✅
CameraPermission
Indicates that camera permission is required for liveness verification.
✅
✅
NetworkException
Indicates a network-related exception occurred during verification.
✅
✅
ServerException
Indicates a server-side exception occurred during verification.
✅
✅
TokenException
Indicates an issue with the token used for verification.
✅
✅
UnsupportedDevice
Indicates that the device is unsupported for liveness verification.
✅
✅
CertificateException
Indicates an exception occurred on certificate pinning.
❌
✅
Last updated