TF-886 Clear AuthenticationInfo
This commit is contained in:
@@ -11,6 +11,7 @@ class AuthenticationInfoCacheClient extends HiveCacheClient<AuthenticationInfoCa
|
||||
@override
|
||||
Future<void> clearAllData() {
|
||||
return Future.sync(() async {
|
||||
await HiveCacheConfig.removeEncryptionKey();
|
||||
final boxAuthenticationInfo = await openBox();
|
||||
return boxAuthenticationInfo.clear();
|
||||
}).catchError((error) {
|
||||
|
||||
Reference in New Issue
Block a user