OnlineWithAuthentication

fun OnlineWithAuthentication(    dependencies: DittoDependencies,     appId: String,     callback: DittoAuthenticationCallback,     enableDittoCloudSync: Boolean = true,     customAuthUrl: String? = null)

Parameters

dependencies

the dependencies required by the SDK to be initialised.

appId

a UUID identifying this app registration on the Ditto portal, which can be found at https://portal.ditto.live.

callback

a handler for when Ditto requires (re)authentication.

enableDittoCloudSync

if true, auto-configure sync with Ditto Cloud.

customAuthUrl

if specified, use a custom authentication service Cloud.