Customer Biometrics Enrollment
Render a fullscreen face-validation flow and enroll its result under the supplied enrollmentId for later verification or 1:N matching.
Example
React
import { CustomerBiometricsEnrollment } from 'idmission-web-sdk'
async function getSessionId() {
const resp = await fetch("/api/get-session");
return (await resp.json()).id;
}
export default function App() {
return (
<CustomerBiometricsEnrollment
sessionId={getSessionId}
enrollmentId="some-guy"
/>
)
}Props
Class Names
Assets
faceLiveness.loadingOverlay.instructionImageUrlURL to the instruction image on the loading overlay. Defaults to https://websdk-cdn-dev.idmission.com/assets/Selfie-Image-1.png . |
faceLiveness.loadingOverlay.cameraAccessDenied.imageUrlURL to the image to display when camera access is denied. Defaults to https://websdk-cdn-dev.idmission.com/assets/camera-disable-icon.png . |
faceLiveness.loadingOverlay.microphoneAccessDenied.imageUrlURL to the image to display when microphone access is denied. Defaults to https://websdk-cdn-dev.idmission.com/assets/microphone-disable-icon.svg . |
faceLiveness.loadingOverlay.introStep1Emoji |
faceLiveness.loadingOverlay.introStep2Emoji |
faceLiveness.loadingOverlay.transitionEmojiRing mode: emoji on the flipped badge of the ID→selfie handoff. Defaults to 🤳. |
faceLiveness.failure.imageUrlURL to the image to display on the FaceLivenessFailure screen. Defaults to https://websdk-cdn-dev.idmission.com/assets/Face_Not_Detected.svg . |
Colors
Verbiage
Last updated on