PassiveFaceLiveness (Deprecated)
Importing SDK
Remotely
<script
src="https://repo.combateafraude.com/javascript/release/passive-face-liveness/<VERSION>.umd.js"
type="text/javascript"
></script>const { PassiveFaceLivenessSdk } =
window["@combateafraude/passive-face-liveness"];Locally
import { PassiveFaceLivenessSdk } from "../assets/js/passive-face-liveness-<VERSION>.js";Construction
Supported Parameters
Parameter
Required?
Example
CaptureStage
Example CaptureStage
Limit SDK attempts
Example totalAttempts
Initialization
initialize(): Promise<void>
Example
Utilization
Opening and taking selfies
capture(container: HTMLElement, stages, {personData?: LivenessPersonData, totalAttempts?: Number}): Promise<Result>
Parameters
Example
Return
Example
Close SDK
close(): Promise<void>
De-initialize the SDK
dispose(): Promise<void>
Complete Example
Last updated

