Ditto Identity
sealed class DittoIdentity
Content copied to clipboard
The various identity configurations that you can use when initializing a Ditto instance.
Development: An identity to be used while in development when you want to control either or both of the app name and the site ID of the peer.
Production: The identity to use when in production. This accepts a certificate bundle, which includes identity information, as a base 64 encoded string.
Types
Development
Link copied to clipboard
class Development @JvmOverloads() constructor(dependencies: DittoDependencies, appName: String?, siteID: BigInteger?) : DittoIdentity
Content copied to clipboard
Production
Link copied to clipboard
class Production @JvmOverloads() constructor(certificateConfig: String) : DittoIdentity
Content copied to clipboard
SharedKey
Link copied to clipboard
class SharedKey @JvmOverloads() constructor(dependencies: DittoDependencies, appName: String, sharedKey: String, siteID: BigInteger?) : DittoIdentity
Content copied to clipboard
Functions
Properties
authClient
Link copied to clipboard
Inheritors
DittoIdentity
Link copied to clipboard
DittoIdentity
Link copied to clipboard
DittoIdentity
Link copied to clipboard