src/user.js
function(mobilePhoneNumber, options = {}) {
        const data = {
          mobilePhoneNumber,
        };
        if (options.validateToken) {
          data.validate_token = options.validateToken;
        }
        var request = AVRequest(
          'requestLoginSmsCode',
          null,
          null,
          'POST',
          data,
          options
        );
        return request;
      }
function(mobilePhoneNumber, options = {}) {
        const data = {
          mobilePhoneNumber,
        };
        if (options.validateToken) {
          data.validate_token = options.validateToken;
        }
        var request = AVRequest(
          'requestLoginSmsCode',
          null,
          null,
          'POST',
          data,
          options
        );
        return request;
      }
function ( mobilePhoneNumber , options = { } ) { const data = { mobilePhoneNumber , } ; if ( options . validateToken ) { data . validate_token = options . validateToken ; } var request = AVRequest ( 'requestLoginSmsCode' , null , null , 'POST' , data , options ) ; return request ; }
Requests a logIn sms code to be sent to the specified mobile phone
number associated with the user account. This sms code allows the user to
login by AV.User.logInWithMobilePhoneSmsCode function.

@param {String} mobilePhoneNumber The mobile phone number  associated with the
user that want to login by AV.User.logInWithMobilePhoneSmsCode
@param {AuthOptions} [options] AuthOptions plus:
@param {String} [options.validateToken] a validate token returned by {@link AV.Cloud.verifyCaptcha}
@return {Promise}
Requests a logIn sms code to be sent to the specified mobile phone number associated with the user account . This sms code allows the user to login by AV . User . logInWithMobilePhoneSmsCode function .