AccountManager

Creates/loads Accounts

Constructor

new AccountManager()

Properties:
Name Type Description
accounts Map.<string, Account>

Methods

addAccount(acc)

Parameters:
Name Type Description
acc Account

getAccount(username) → {Account|undefined}

Parameters:
Name Type Description
username string
Returns:
Account | undefined

loadAccount(username, force)

Parameters:
Name Type Description
username string
force boolean

Force reload data from disk