@@ -15,7 +15,7 @@ RemoteConnector::createAuthenticator
1515
1616@param extraData Additional data that is passed to the remote connector, e.g. a password
1717@param resetLocalStore Specifies, whether the local store should be reset or not
18- @returns A task to wait on for the completition of the reset.
18+ @returns A task to wait on for the completition of the reset
1919
2020If you need to perform an operation that will change the currently logged in user, reset his
2121device identity or somthing similiar, that changes his "identity", use this method. Use the
@@ -29,3 +29,37 @@ use this approach.
2929
3030@sa RemoteConnector::resetUserId, RemoteConnector::resetUserData
3131*/
32+
33+ /*!
34+ @fn QtDataSync::Authenticator::exportUserDataImpl
35+
36+ @param device The device to write the exported data to
37+
38+ This method should export all of a users "identity" data. This includes all the keys, ids and
39+ more that are needed to properly synchronize and identify. it's internally called by
40+ exportUserData().
41+
42+ It must be possible to login the user on a different device by exporting data with this method
43+ and importing it with importUserData(). No additional information should be required. (The only
44+ exption beeing a "password". It's up to your implemetation If you want to export passwords too,
45+ or require the user to provide it)
46+
47+ @sa Authenticator::exportUserData, Authenticator::importUserDataImpl
48+ */
49+
50+ /*!
51+ @fn QtDataSync::Authenticator::importUserDataImpl
52+
53+ @param device The device to read the data to import from
54+ @returns A task to wait on for the completition of the import
55+
56+ This method should import all of a users "identity" data from the given device, that was
57+ previously exported by exportUserData(). it's internally called by importUserData().
58+
59+ It must be possible to login the user on a different device by exporting data and importing it
60+ on the device with this methods. No additional information should be required. (The only
61+ exption beeing a "password". It's up to your implemetation If you want to export passwords too,
62+ or require the user to provide it)
63+
64+ @sa Authenticator::importUserData, Authenticator::exportUserDataImpl
65+ */
0 commit comments