De-enrollment is biometric equivalde of an account deletion. Keyless performs an authentication to compare the user's facial biometrics with the ones computed during enrollment. If the biometrics match, the user is authenticated and their account will be removed from Keyless. This operation is irreversible.
let configuration = Keyless.DeEnrollmentConfiguration.builder .build()Keyless.deEnroll( deEnrollmentConfiguration: configuration, onCompletion: { error iniflet error = error { print("De-Enrollment finished with error: \(error.message)") } else { print("De-Enrollment finished with success") } }}
DeEnrollment configuration
Camera Delay
Use cameraDelaySeconds to specify the delay (in seconds) between when the camera preview appears, and when the liveness processing starts.
Liveness Settings
Using livenessConfiguration you can configure the liveness security level during enrollment. The possible liveness configuration are under LivenessSettings.LivenessConfiguration :