Identities and Security
-
Used to identify a given peer in your network. In practice a peer may be a user, a device, or it might be some other entity in your system.
See moreDeclaration
Objective-C
@interface DITIdentity : NSObject
-
The identity types you can use with DittoObjC.
The various identity configurations that you can use when initializing a
DITDitto
instance.- Development: Develop peer-to-peer apps with no cloud connection. This mode offers no security and must only be used for development.
- Online: Run Ditto in secure production mode, logging on to Ditto Cloud or on on-premises authentication server. User permissions are centrally managed.
- OnlinePlayground: Test a Ditto Cloud app without authentication (“Playground mode”). This mode offers no security and must only be used for development.
- SharedKey: A mode where any device is trusted provided they know the secret key. This is a simplistic authentication model normally only suitable for private apps where users and devices are both trusted.
- Manual: A manually-provided certificate identity. This accepts a base64-encoded bundle.
Declaration
Objective-C
enum DITIdentityType : NSUInteger {}