-
User name used to login
Declaration
Swift
var userName: String { get }
-
Credit Card Accounts the user has access to
Declaration
Swift
var accounts: [Account] { get }
-
Authenticated
Declaration
Swift
var authenticated: Bool { get }
-
Login and load a user account
Declaration
Swift
static func load(username: String, password: String, deviceId: String, deviceInfo: String, completion: @escaping (Result<User, DownloadError>) -> Void)
Parameters
username
user name
password
password
deviceId
device id to skip 2FA
deviceInfo
device info to skip 2FA
completion
completion handler, returns the User or a Download Error