UNPKG

@digitalpersona/enrollment

Version:
26 lines (15 loc) 852 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@digitalpersona/enrollment](./enrollment.md) &gt; [TimeOtpEnroll](./enrollment.timeotpenroll.md) &gt; [sendVerificationCode](./enrollment.timeotpenroll.sendverificationcode.md) ## TimeOtpEnroll.sendVerificationCode() method Sends an verification code using SMS to the user's device. <b>Signature:</b> ```typescript sendVerificationCode(key: Uint8Array, phoneNumber: string): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | key | <code>Uint8Array</code> | a secret key to "seed" an OTP generator and start generating verification codes. | | phoneNumber | <code>string</code> | a phone number to send a current verification code to. | <b>Returns:</b> `Promise<void>`