import Foundation

enum CredentialsProviderError: Error {
  case Failed(message: String)
}

protocol CredentialsProvider {
  var userFriendlyName: String { get }
  func retrieve(host: String) throws -> (String, String)?
  func store(host: String, user: String, password: String) throws
}
