ditto-lib / live.ditto / DittoIdentity

DittoIdentity

sealed class DittoIdentity

The various identity configurations that you can use when initializing a DittoKit instance.

Types

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.

class Development : DittoIdentity

Production

The identity to use when in production. This accepts a certificate bundle, which includes identity information, as a base 64 encoded string.

class Production : DittoIdentity