Attention Controls
SMS Controls
Introduction
The SMS controls are used to verify users via SMS. It is a common method for user authentication and verification.
Type: AttentionControlTypes::ONE_TIMECODE
How it works
This control generates a random code and sends it via SMS to the user's phone number. The user needs to enter the code to pass the control. The Sms Code Control can be customized with the following props:
codeLength: the length of the generated code (default: 4)
Used Providers
For sending the SMS we use SendInBlue