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
899
899
* logged in user using <code>current</code>.
900
900
*
901
+
* @since 3.7.0
901
902
* @param {Object} authData The response json data returned from third party token, maybe like { openid: 'abc123', access_token: '123abc', expires_in: 1382686496 }
902
903
* @param {string} platform Available platform for sign up.
903
904
* @param {Object} [options]
904
-
* @param {boolean} [options.failOnNotExist] If true, the login request will fail when no user match this authData exists.
905
+
* @param {boolean} [options.failOnNotExist] If true, the login request will fail when no user matches this authData exists.
905
906
* @return {Promise} A promise that is fulfilled with the user when
* Sign up or logs in a user with a third party authData and unionId.
924
-
* @since 3.5.0
935
+
* @since 3.7.0
925
936
* @param {Object} authData The response json data returned from third party token, maybe like { openid: 'abc123', access_token: '123abc', expires_in: 1382686496 }
926
937
* @param {string} platform Available platform for sign up.
0 commit comments