@@ -644,7 +644,6 @@ module.exports = function(AV) {
644644 /**
645645 * Calls set("mobilePhoneNumber", phoneNumber, options) and returns the result.
646646 * @param {String } mobilePhoneNumber
647- * @param {AuthOptions } options
648647 * @return {Boolean }
649648 * @see AV.Object#set
650649 */
@@ -655,7 +654,6 @@ module.exports = function(AV) {
655654 /**
656655 * Calls set("username", username, options) and returns the result.
657656 * @param {String } username
658- * @param {AuthOptions } options
659657 * @return {Boolean }
660658 * @see AV.Object#set
661659 */
@@ -666,7 +664,6 @@ module.exports = function(AV) {
666664 /**
667665 * Calls set("password", password, options) and returns the result.
668666 * @param {String } password
669- * @param {AuthOptions } options
670667 * @return {Boolean }
671668 * @see AV.Object#set
672669 */
@@ -799,8 +796,8 @@ module.exports = function(AV) {
799796 *
800797 * @param {String } username The username (or email) to sign up with.
801798 * @param {String } password The password to sign up with.
802- * @param {Object } attrs Extra fields to set on the new user.
803- * @param {AuthOptions } options
799+ * @param {Object } [ attrs] Extra fields to set on the new user.
800+ * @param {AuthOptions } [ options]
804801 * @return {Promise } A promise that is fulfilled with the user when
805802 * the signup completes.
806803 * @see AV.User#signUp
@@ -820,15 +817,14 @@ module.exports = function(AV) {
820817 *
821818 * @param {String } username The username (or email) to log in with.
822819 * @param {String } password The password to log in with.
823- * @param {AuthOptions } options
824820 * @return {Promise } A promise that is fulfilled with the user when
825821 * the login completes.
826822 * @see AV.User#logIn
827823 */
828- logIn : function ( username , password , options ) {
824+ logIn : function ( username , password ) {
829825 var user = AV . Object . _create ( '_User' ) ;
830826 user . _finishFetch ( { username : username , password : password } ) ;
831- return user . logIn ( options ) ;
827+ return user . logIn ( ) ;
832828 } ,
833829
834830 /**
@@ -869,15 +865,14 @@ module.exports = function(AV) {
869865 *
870866 * @param {String } mobilePhone The user's mobilePhoneNumber
871867 * @param {String } smsCode The sms code sent by AV.User.requestLoginSmsCode
872- * @param {AuthOptions } options
873868 * @return {Promise } A promise that is fulfilled with the user when
874869 * the login completes.
875870 * @see AV.User#logIn
876871 */
877- logInWithMobilePhoneSmsCode : function ( mobilePhone , smsCode , options ) {
872+ logInWithMobilePhoneSmsCode : function ( mobilePhone , smsCode ) {
878873 var user = AV . Object . _create ( '_User' ) ;
879874 user . _finishFetch ( { mobilePhoneNumber : mobilePhone , smsCode : smsCode } ) ;
880- return user . logIn ( options ) ;
875+ return user . logIn ( ) ;
881876 } ,
882877
883878 /**
@@ -914,18 +909,17 @@ module.exports = function(AV) {
914909 *
915910 * @param {String } mobilePhone The user's mobilePhoneNumber
916911 * @param {String } password The password to log in with.
917- * @param {AuthOptions } options
918912 * @return {Promise } A promise that is fulfilled with the user when
919913 * the login completes.
920914 * @see AV.User#logIn
921915 */
922- logInWithMobilePhone : function ( mobilePhone , password , options ) {
916+ logInWithMobilePhone : function ( mobilePhone , password ) {
923917 var user = AV . Object . _create ( '_User' ) ;
924918 user . _finishFetch ( {
925919 mobilePhoneNumber : mobilePhone ,
926920 password : password ,
927921 } ) ;
928- return user . logIn ( options ) ;
922+ return user . logIn ( ) ;
929923 } ,
930924
931925 /**
0 commit comments