Online With Authentication
fun OnlineWithAuthentication(dependencies: DittoDependencies, appID: String, callback: DittoAuthenticationCallback, enableDittoCloudSync: Boolean = true, customAuthUrl: String? = null)
Content copied to clipboard
Parameters
dependencies
the dependencies required by the SDK to be initialised.
app ID
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.
enable Ditto Cloud Sync
if true, auto-configure sync with Ditto Cloud.
custom Auth Url
if specified, use a custom authentication service instead of Ditto Cloud.