TradableAPIAuthenticationRequest
@objc public class TradableAPIAuthenticationRequest: NSObject
A request for an authentication token granting access to the accounts associated with the given broker login.
-
The app key for authentication.
Declaration
Swift
@objc public let appKey: String
-
The id of the app that is requesting access.
Declaration
Swift
@objc public let appId: UInt64
-
The id of the broker that the account is at.
Declaration
Swift
@objc public let brokerId: Int
-
The login for the account.
Declaration
Swift
@objc public let login: String
-
The password for the account.
Declaration
Swift
@objc public let password: String
-
Allows the caller to provide an id for the user, so it is possible to link the user identity in the caller’s system with the Tradable account.
Declaration
Swift
@objc public let externalId: String?
-
Simple description of this object.
Declaration
Swift
public override var description: String
-
Creates an object with given parameters.
Declaration
Swift
@objc public init(appKey: String, appId: UInt64, brokerId: Int, login: String, password: String, externalId: String? = nil)