mas/App/AppStore/StoreAccount.swift

16 lines
428 B
Swift
Raw Normal View History

2018-04-04 03:04:56 +00:00
//
// StoreAccount.swift
// mas-cli
//
// Created by Ben Chatelain on 4/3/18.
// Copyright © 2018 Andrew Naylor. All rights reserved.
//
protocol StoreAccount {
static var primaryAccountIsPresentAndSignedIn: Bool { get }
static var primaryAccount: StoreAccount? { get }
static func signIn(username: String, password: String, systemDialog: Bool) throws -> StoreAccount
2018-04-04 03:04:56 +00:00
var identifier: String { get set }
2018-04-04 03:04:56 +00:00
}