Files
workavia-mail-front/ios/TwakeMailNSE/Keychain/KeyChainControllerDelegate.swift
T
dab246 274e01d113 TF-2464 Save both EmailDelivery and EmailState in the keychain
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit a37fe7ea8bcc38eb96df39f46128c9e1f7af046e)
2024-02-19 15:55:12 +07:00

13 lines
419 B
Swift

import Foundation
struct KeychainCredentials {
let accountId: String
let sharingSession: KeychainSharingSession
}
protocol KeychainControllerDelegate: AnyObject {
func retrieveSharingSessionFromKeychain(accountId: String) -> KeychainSharingSession?
func retrieveSharingSessions() -> [KeychainCredentials]
func updateEmailDeliveryStateToKeychain(accountId: String, newEmailDeliveryState: String)
}