mirror of
https://github.com/mas-cli/mas
synced 2024-12-22 18:03:08 +00:00
16 lines
431 B
Swift
16 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 }
|
||
|
}
|