UNPKG

@digitalpersona/enrollment

Version:
27 lines (15 loc) 784 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/enrollment](./enrollment.md) &gt; [SecurityQuestionsEnroll](./enrollment.securityquestionsenroll.md) &gt; [enroll](./enrollment.securityquestionsenroll.enroll.md) ## SecurityQuestionsEnroll.enroll() method Enrolls Security Questions. <b>Signature:</b> ```typescript enroll(questionsWithAnswers: QuestionWithAnswer[]): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | questionsWithAnswers | <code>QuestionWithAnswer[]</code> | a colelction of user's answers to Security Questions. | <b>Returns:</b> `Promise<void>` a promise to perform the enrollment or reject in case of an error.