SladeID
new SladeID(config: SladeIDConfig)The SDK entry point. Handles authentication and transport, and exposes capture-session factories plus the biometrics network methods.
Methods
| Method | Returns |
|---|---|
createFaceSession(video, opts?) | FaceCaptureSession |
createFingerprintSession(video, opts?) | FingerprintCaptureSession |
enrollFace(enrolleeId, result) | Promise<FaceEnrollResponse> |
matchFace(enrolleeId, result) | Promise<FaceMatchResponse> |
searchFace(result, opts?) | Promise<FaceSearchResponse> |
enrollFingerprint(enrolleeId, result) | Promise<EnrollmentResponse> |
matchFingerprint(enrolleeId, result) | Promise<MatchResponse> |
The result parameter accepts either the capture session’s typed result (FaceCaptureResult, FingerprintCaptureResult) or a hand-built BiometricSample. Hand-built samples are useful for non-browser callers, replays from disk, or tests.