TF-2464 Save both EmailDelivery and EmailState in the keychain

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit a37fe7ea8bcc38eb96df39f46128c9e1f7af046e)
This commit is contained in:
dab246
2024-01-17 13:20:59 +07:00
committed by Dat PHAM HOANG
parent 642121dea3
commit 274e01d113
9 changed files with 74 additions and 40 deletions
@@ -18,6 +18,7 @@ class KeychainSharingSession with EquatableMixin {
AuthenticationType authenticationType;
String apiUrl;
String? emailState;
String? emailDeliveryState;
TokenOIDC? tokenOIDC;
String? basicAuth;
String? tokenEndpoint;
@@ -29,6 +30,7 @@ class KeychainSharingSession with EquatableMixin {
required this.authenticationType,
required this.apiUrl,
this.emailState,
this.emailDeliveryState,
this.tokenOIDC,
this.basicAuth,
this.tokenEndpoint,
@@ -46,6 +48,7 @@ class KeychainSharingSession with EquatableMixin {
authenticationType,
apiUrl,
emailState,
emailDeliveryState,
tokenOIDC,
basicAuth,
tokenEndpoint,