mirror of
https://github.com/mssun/passforios.git
synced 2026-02-27 18:24:03 +01:00
18 lines
377 B
Swift
18 lines
377 B
Swift
//
|
|
// KeyStore.swift
|
|
// passKit
|
|
//
|
|
// Created by Danny Moesch on 20.07.19.
|
|
// Copyright © 2019 Bob Sun. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol KeyStore {
|
|
func add(string: String?, for key: String)
|
|
func contains(key: String) -> Bool
|
|
func get(for key: String) -> String?
|
|
func removeContent(for key: String)
|
|
func removeAllContent()
|
|
}
|