mirror of
https://github.com/mas-cli/mas
synced 2024-12-28 21:03:07 +00:00
15 lines
428 B
Swift
15 lines
428 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 }
|
|
}
|