Customer Verification
Render a fullscreen capture component that determines whether the user matches the specified, previously registered enrollmentId.
Example
React
import { CustomerVerification } from 'idmission-web-sdk'
async function getSessionId() {
const resp = await fetch("/api/get-session");
return (await resp.json()).id;
}
export default function App() {
return (
<CustomerVerification
sessionId={getSessionId}
enrollmentId="some-guy"
/>
)
}Props
Class Names
Assets
loadingOverlay.instructionImageUrlURL to the instruction image on the loading overlay. Defaults to https://websdk-cdn-dev.idmission.com/assets/Selfie-Image-1.png . |
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 . |
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 . |
loadingOverlay.introStep1Emoji |
loadingOverlay.introStep2Emoji |
loadingOverlay.transitionEmojiRing mode: emoji on the flipped badge of the ID→selfie handoff. Defaults to 🤳. |
failure.imageUrlURL to the image to display in the CustomerVerificationFailure screen. Defaults to https://websdk-cdn-dev.idmission.com/assets/manual_capture.png . |
failureImageUrl |
Colors
Verbiage
Last updated on