Two-factor authentication adress verification

Command user/verify_auth - sends code to specified address and returns it, so you can check that address is valid.

svc=user/verify_auth&params={"userId":<long>,
			     "type":<uint>,
			     "destination":<text>}

Parameters

Name Description
userId user ID
type address type (0 - sms, 1 - email)
destination email or phone number

Response

{
	"code":<text>	/* code */
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam