@digitalpersona/enrollment
Version:
DigitalPersona Enrollment API
27 lines (15 loc) • 690 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/enrollment](./enrollment.md) > [ProximityCardEnroll](./enrollment.proximitycardenroll.md) > [enroll](./enrollment.proximitycardenroll.enroll.md)
## ProximityCardEnroll.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.