@digitalpersona/enrollment
Version:
DigitalPersona Enrollment API
27 lines (15 loc) • 639 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/enrollment](./enrollment.md) > [PinEnroll](./enrollment.pinenroll.md) > [enroll](./enrollment.pinenroll.enroll.md)
## PinEnroll.enroll() method
Enrolls a PIN.
<b>Signature:</b>
```typescript
enroll(pin: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| pin | <code>string</code> | a Personal Identification Number (PIN). |
<b>Returns:</b>
`Promise<void>`
a promise to perform the enrollment or reject in case of an error.