Skip to Content
ReferenceConfiguration

Configuration

SladeIDConfig

FieldTypeDefaultNotes
middlewareUrlstringrequiredBase URL of the Slade ID backend service.
clientSecretstringrequiredClientSecret.
deviceDeviceDescriptorauto-synthesisedOptional capture-device metadata. Omit to use the auto value.
fetchImpltypeof fetchglobalThis.fetchFor Node test harnesses.
timeoutMsnumber15000Per network call.
fingerprintQualityThresholdnumber40Quality floor (0–100).
fingerprintMaxRetriesnumber5
targetFingersnumber[][1, 2, 3, 6, 7, 8]Position numbers — see Capture sessions.
faceAntispoofThresholdnumber0.7Real-confidence floor.

DeviceDescriptor

interface DeviceDescriptor { serialNumber: string; deviceType: 'Camera' | 'FingerPrint' | 'PalmPrint'; deviceManufacturer: string; deviceName: string; }

Optional. The SDK auto-fills this in browser environments, so most integrators do not need to set it. Pass an explicit device only when you are running outside a browser (Node test harness) or you need captures attributed to a specific physical workstation, kiosk, or USB scanner.