DittoIdentity
public enum DittoIdentity
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.
-
Undocumented
Declaration
Swift
case development(appName: String? = nil, siteID: UInt64? = nil)
-
Undocumented
Declaration
Swift
case sharedKey(appName: String, sharedKey: String, siteID: UInt64? = nil)
-
Undocumented
Declaration
Swift
case production(certificateConfig: String)