TF-2384 Handle refresh token from flutter side when NSE refreshed token
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 1fddbec1e8030f4e25bc8b0ec5d0d05004215e56)
This commit is contained in:
@@ -82,6 +82,19 @@ class IOSSharingManager {
|
||||
}
|
||||
}
|
||||
|
||||
Future<KeychainSharingSession?> getKeychainSharingSession(AccountId accountId) async {
|
||||
try {
|
||||
if (await _keychainSharingManager.isSessionExist(accountId)) {
|
||||
final keychainSharingStored = await _keychainSharingManager.getSharingSession(accountId);
|
||||
return keychainSharingStored;
|
||||
}
|
||||
return null;
|
||||
} catch (e) {
|
||||
logError('IOSSharingManager::getKeychainSharingSession: Exception: $e');
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Future<TokenOIDC?> _getTokenOidc({required String tokeHashId}) async {
|
||||
try {
|
||||
final tokenOidc = await _tokenOidcCacheManager.getTokenOidc(tokeHashId);
|
||||
|
||||
Reference in New Issue
Block a user