DeviceAuthenticationCollector
open class DeviceAuthenticationCollector : FieldCollector<[String : Any]>, Submittable, @unchecked Sendable
Class representing a device authentication collector.
Inherits from FieldCollector
and is used to collect device information.
- property devices: The list of devices.
- property value: The selected device.
- method eventType: Returns the event type.
- method payload: Returns the selected device dictionary.
- method init: Initializes a new instance of
DeviceAuthenticationCollector
.
-
The list of devices.
Declaration
Swift
public private(set) var devices: [Device] { get }
-
The selected device.
Declaration
Swift
public var value: Device?
-
Initializes a new instance of
DeviceRegistrationCollector
with the given JSON input.Declaration
Swift
public required init(with json: [String : Any])
-
Returns the selected device dictionary
Declaration
Swift
override open func payload() -> [String : Any]?