feat: Add KeychainAccess
This commit is contained in:
parent
9eef7ee54b
commit
80a7e60e46
|
|
@ -24,6 +24,8 @@ import Foundation
|
|||
import KeychainAccess
|
||||
import TIFoundationUtils
|
||||
|
||||
typealias KeychainCodableBackingStore<T: Codable> = CodableKeyValueBackingStore<Keychain, T>
|
||||
|
||||
extension Keychain: CodableKeyValueStorage {
|
||||
public func codableObject<Value: Decodable>(forKey key: StorageKey<Value>,
|
||||
decoder: CodableKeyValueDecoder) throws -> Value {
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
import KeychainAccess
|
||||
import TIFoundationUtils
|
||||
|
||||
typealias KeychainCodableBackingStore<T: Codable> = CodableKeyValueBackingStore<Keychain, T>
|
||||
Loading…
Reference in New Issue