mirror of
https://github.com/hanzoai/bot.git
synced 2026-11-02 00:42:49 +00:00
Squash merge of 1,462 upstream commits with openclaw→hanzo-bot naming transforms applied. Conflicts resolved favoring our main branch to preserve existing customizations. Key upstream additions: - iOS Security Stack (concurrency locks, runtime guards, TTS fallback) - Discord CDN hostname allowlisting for SSRF protection - Discord mention handling improvements - Various bug fixes and stability improvements
17 lines
560 B
Swift
17 lines
560 B
Swift
import Foundation
|
|
import BotKit
|
|
|
|
enum KeychainStore {
|
|
static func loadString(service: String, account: String) -> String? {
|
|
GenericPasswordKeychainStore.loadString(service: service, account: account)
|
|
}
|
|
|
|
static func saveString(_ value: String, service: String, account: String) -> Bool {
|
|
GenericPasswordKeychainStore.saveString(value, service: service, account: account)
|
|
}
|
|
|
|
static func delete(service: String, account: String) -> Bool {
|
|
GenericPasswordKeychainStore.delete(service: service, account: account)
|
|
}
|
|
}
|