The generated package database class provides a valid synchronization connection profile.
You can log in to the Unwired Server with your user name and credentials.
The package
database class provides these methods for logging in to the Unwired Server:
-
OnlineLogin
–
authenticates credentials against the Unwired Server.
-
OfflineLogin
–
authenticates against the most recent successfully authenticated
credentials. There is no communication with Unwired Server in this method.
-
loginToSync
–
tries OfflineLogin first. OfflineLogin authenticates against the last successfully authenticated credential. There is no communication with the Unwired Server in this method. If OfflineLogin fails, this method tries OnlineLogin.
-
asyncOnlineLogin
–
sends the login request asynchronously (it returns without waiting for a server response). See Reference: Administration APIs > Reference > iPhone Client Object API > Synchronization APIs.