version 1.0.0

This commit is contained in:
diyaa
2026-05-24 20:53:42 +02:00
commit 4b8701e55b
6577 changed files with 25019 additions and 0 deletions
@@ -0,0 +1,20 @@
import Foundation
public protocol KeychainService: Sendable {
func save(_ value: String, forKey key: String) async
func loadValue(forKey key: String) async -> String?
}
public actor MemoryKeychainService: KeychainService {
private var storage: [String: String] = [:]
public init() {}
public func save(_ value: String, forKey key: String) async {
storage[key] = value
}
public func loadValue(forKey key: String) async -> String? {
storage[key]
}
}