AttachedClient
public struct AttachedClient
extension AttachedClient: Equatable, Hashable
A client connected to the user’s account.
This struct provides metadata about a client connected to the user’s account.
Unlike the [Device
] struct, “clients” encompasses both client-side and server-side
applications - basically anything where the user is able to sign in with their
Firefox Account.
This data would typically be used for targeted messaging purposes, catering the contents of the message to what other applications the user has on their account.
-
Declaration
Swift
public var clientId: String?
-
Declaration
Swift
public var deviceId: String?
-
Declaration
Swift
public var deviceType: DeviceType
-
Declaration
Swift
public var isCurrentSession: Bool
-
Declaration
Swift
public var name: String?
-
Declaration
Swift
public var createdTime: Int64?
-
Declaration
Swift
public var lastAccessTime: Int64?
-
Declaration
Swift
public var scope: [String]?
-
Declaration
Swift
public init(clientId: String?, deviceId: String?, deviceType: DeviceType, isCurrentSession: Bool, name: String?, createdTime: Int64?, lastAccessTime: Int64?, scope: [String]?)
-
Declaration
Swift
public static func == (lhs: AttachedClient, rhs: AttachedClient) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)