PingOneProtectInitializeCallback

public class PingOneProtectInitializeCallback : AbstractProtectCallback, @unchecked Sendable

A callback class for initializing the PingOne Protect SDK. This class extends AbstractProtectCallback and provides functionality to configure the Protect SDK with various parameters such as environment ID, behavioral data collection, console logging, and device attributes to ignore.

  • The environment ID for the Protect SDK

    Declaration

    Swift

    private(set) public var envId: String { get }
  • Indicates whether behavioral data collection is enabled

    Declaration

    Swift

    private(set) public var isBehavioralDataCollection: Bool { get }
  • Indicates whether console logging is enabled

    Declaration

    Swift

    private(set) public var isConsoleLogEnabled: Bool { get }
  • Indicates whether lazy metadata loading is enabled

    Declaration

    Swift

    private(set) public var lazyMetadata: Bool { get }
  • The custom host for the Protect SDK

    Declaration

    Swift

    private(set) public var customHost: String { get }
  • A list of device attributes to ignore

    Declaration

    Swift

    private(set) public var deviceAttributesToIgnore: [String] { get }
  • Initializes a new instance of PingOneProtectInitializeCallback with the provided JSON input.

    Declaration

    Swift

    public override func initValue(name: String, value: Any)
  • start() Asynchronous

    Start the PingOne Protect SDK

    Declaration

    Swift

    public func start() async -> Result<Void, Error>

    Return Value

    A Result containing either success or failure