@@ -29,56 +29,56 @@ import type { RequestOptions } from './RESTController';
29
29
* @static
30
30
*/
31
31
declare const AnonymousUtils : {
32
- /**
33
- * Gets whether the user has their account linked to anonymous user.
34
- *
35
- * @function isLinked
36
- * @name Parse.AnonymousUtils.isLinked
37
- * @param {Parse.User } user User to check for.
38
- * The user must be logged in on this device.
39
- * @returns {boolean } <code>true</code> if the user has their account
40
- * linked to an anonymous user.
41
- * @static
42
- */
43
- isLinked ( user : ParseUser ) : boolean ;
44
- /**
45
- * Logs in a user Anonymously.
46
- *
47
- * @function logIn
48
- * @name Parse.AnonymousUtils.logIn
49
- * @param {object } options MasterKey / SessionToken.
50
- * @returns {Promise } Logged in user
51
- * @static
52
- */
53
- logIn ( options ?: RequestOptions ) : Promise < ParseUser > ;
54
- /**
55
- * Links Anonymous User to an existing PFUser.
56
- *
57
- * @function link
58
- * @name Parse.AnonymousUtils.link
59
- * @param {Parse.User } user User to link. This must be the current user.
60
- * @param {object } options MasterKey / SessionToken.
61
- * @returns {Promise } Linked with User
62
- * @static
63
- */
64
- link ( user : ParseUser , options ?: RequestOptions ) : Promise < ParseUser > ;
65
- /**
66
- * Returns true if Authentication Provider has been registered for use.
67
- *
68
- * @function isRegistered
69
- * @name Parse.AnonymousUtils.isRegistered
70
- * @returns {boolean }
71
- * @static
72
- */
73
- isRegistered ( ) : boolean ;
74
- _getAuthProvider ( ) : {
75
- restoreAuthentication ( ) : boolean ;
76
- getAuthType ( ) : string ;
77
- getAuthData ( ) : {
78
- authData : {
79
- id : string ;
80
- } ;
32
+ /**
33
+ * Gets whether the user has their account linked to anonymous user.
34
+ *
35
+ * @function isLinked
36
+ * @name Parse.AnonymousUtils.isLinked
37
+ * @param {Parse.User } user User to check for.
38
+ * The user must be logged in on this device.
39
+ * @returns {boolean } <code>true</code> if the user has their account
40
+ * linked to an anonymous user.
41
+ * @static
42
+ */
43
+ isLinked ( user : ParseUser ) : boolean ;
44
+ /**
45
+ * Logs in a user Anonymously.
46
+ *
47
+ * @function logIn
48
+ * @name Parse.AnonymousUtils.logIn
49
+ * @param {object } options MasterKey / SessionToken.
50
+ * @returns {Promise } Logged in user
51
+ * @static
52
+ */
53
+ logIn ( options ?: RequestOptions ) : Promise < ParseUser > ;
54
+ /**
55
+ * Links Anonymous User to an existing PFUser.
56
+ *
57
+ * @function link
58
+ * @name Parse.AnonymousUtils.link
59
+ * @param {Parse.User } user User to link. This must be the current user.
60
+ * @param {object } options MasterKey / SessionToken.
61
+ * @returns {Promise } Linked with User
62
+ * @static
63
+ */
64
+ link ( user : ParseUser , options ?: RequestOptions ) : Promise < ParseUser > ;
65
+ /**
66
+ * Returns true if Authentication Provider has been registered for use.
67
+ *
68
+ * @function isRegistered
69
+ * @name Parse.AnonymousUtils.isRegistered
70
+ * @returns {boolean }
71
+ * @static
72
+ */
73
+ isRegistered ( ) : boolean ;
74
+ _getAuthProvider ( ) : {
75
+ restoreAuthentication ( ) : boolean ;
76
+ getAuthType ( ) : string ;
77
+ getAuthData ( ) : {
78
+ authData : {
79
+ id : string ;
80
+ } ;
81
+ } ;
81
82
} ;
82
- } ;
83
83
} ;
84
84
export default AnonymousUtils ;
0 commit comments