Logging In

Use online authentication with the server, and offline authentication with the device.

  1. Normally, the user is authenticated through the registerApplication and startConnection methods in the Application class. Once this is done there is no need to authenticate again. However, the user can authenticate directly with the server at any time during the application's execution by calling the generated database instance's onlineLogin method.
  2. Authenticate using the last successful credentials on the device by calling the generated database instance's offlineLogin method.