ditto-lib / live.ditto / DittoIdentity

DittoIdentity

sealed class DittoIdentity

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

Types

Development

class Development : DittoIdentity

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

class Production : DittoIdentity

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

Inheritors

Development

class Development : DittoIdentity

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

class Production : DittoIdentity

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