Methods
checkVerificationSession(uuid, verification_code) → {Promise.<any>}
Verify an Phone number via code received
Parameters:
Name | Type | Description |
---|---|---|
uuid |
string
|
UUID of the verification request |
verification_code |
string
|
Verification code received on the device |
Returns:
- Type:
-
Promise.<any>
- verification status along with the number corresponding to the UUID
startVerificationSession(phone_number) → {Promise.<any>}
Start a new SMS verification Session
Parameters:
Name | Type | Description |
---|---|---|
phone_number |
string
|
The phone to be verified |
Returns:
- Type:
-
Promise.<any>
- The uuid required to verify the verification code