Identities and Security

  • Phased out in 4.x — superseded by DittoConfig for initialization. The new configuration-based design enables a more extensible and maintainable setup.

    This API will be replaced by DittoConfig in v5.

    Declaration

    Swift

    @available(*, deprecated, message: "DittoIdentity is removed in SDK 5.0. Use DittoConfig with Ditto.open(config:﹚ instead.")
    public typealias DittoIdentity = _DittoIdentity
  • Provides access to authentication information and methods for logging on to Ditto Cloud. Relevant when using an onlineWithAuthentication or an online identity.

    See more

    Declaration

    Swift

    public class DittoAuthenticator
  • Phased out in 4.x — replaced by the closure-based DittoAuthenticationExpirationHandler.

    This API will be replaced by DittoAuthenticationExpirationHandler in v5.

    Declaration

    Swift

    @available(*, deprecated, message: "DittoAuthenticationDelegate will be removed in SDK 5.0. Use `DittoAuthenticationExpirationHandler` instead.")
    public typealias DittoAuthenticationDelegate = _DittoAuthenticationDelegate
  • Undocumented

    Declaration

    Swift

    public typealias DittoAuthenticationRequest = DITAuthenticationRequest
  • Provides info about the authentication status.

    See more

    Declaration

    Swift

    public struct DittoAuthenticationStatus : Equatable
  • Undocumented

    Declaration

    Swift

    public typealias DittoAuthenticationSuccess = DITAuthenticationSuccess