DPAM Web Enrollment for DigitalPersona Access Management
Tutorial
Getting started
Add the package to your project
Using NPM:
npm install @digitalpersona/enrollment
Using Yarn:
yarn add @digitalpersona/enrollment
Write some code
We recommend using Typescrypt or ES6 modules. Import needed types from the @digitalpersona/enrollment module, for example:
import { BioSample, FingerPosition } from '@digitalpersona/core';
import { EnrollmentContext, FingerprintsEnroll } from '@digitalpersona/enrollment';
...
async submitFingerprints(context: EnrollmentContext, samples: BioSample[], pos: FingerPosition)
{
try {
const api = new FingerprintsEnroll(context);
await api.enroll(pos, samples);
}
catch (error) {
handleError(error);
}
}
Using Components
For working examples see a “Bank of DigitalPersona” sample application.