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