28 lines
543 B
Swift
Raw Permalink Normal View History

2022-12-11 18:55:02 +01:00
//
// Keychainable.swift
// KeychainStorage
//
// Created by Javier Cicchelli on 11/12/2022.
// Copyright © 2022 Röck+Cöde. All rights reserved.
//
import Foundation
public protocol Keychainable {
func getData(
_ key: String,
ignoringAttributeSynchronizable: Bool
) throws -> Data?
func set(
_ value: Data,
key: String,
ignoringAttributeSynchronizable: Bool
) throws
func remove(
_ key: String,
ignoringAttributeSynchronizable: Bool
) throws
}