mas/App/AppStore/StoreAccount.swift
2018-10-13 22:22:20 -06:00

15 lines
431 B
Swift

//
// 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
var identifier: String! { get set }
}