You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* On success, this saves the session to disk, so you can retrieve the currently
758
758
* logged in user using <code>current</code>.
759
759
*
760
-
* <p>Calls options.success or options.error on completion.</p>
761
-
*
762
-
* @param {Object} data The response json data returned from third party token.
760
+
* @param {Object} authData The response json data returned from third party token, maybe like { openid: 'abc123', access_token: '123abc', expires_in: 1382686496 }
763
761
* @param {string} platform Available platform for sign up.
764
762
* @param {Object} [callback] An object that has an optional success function, that takes no arguments and will be called on a successful puSH. and an error function that takes a AVError and will be called if the push failed.
765
763
* @return {AV.Promise} A promise that is fulfilled with the user when
* Associate a user with a third party auth data(AccessToken).
778
+
*
779
+
* @param {AV.User} userObj A user which you want to associate.
780
+
* @param {string} platform Available platform for sign up.
781
+
* @param {Object} authData The response json data returned from third party token, maybe like { openid: 'abc123', access_token: '123abc', expires_in: 1382686496 }
782
+
* @return {AV.Promise} A promise that is fulfilled with the user when completed.
0 commit comments