simplified code across the app and consolidated duplicated helpers
This commit is contained in:
@@ -81,8 +81,8 @@ class MarianumConnectTokenStorage {
|
||||
}
|
||||
|
||||
Future<void> clear() async {
|
||||
await _storage.delete(key: _tokenKey);
|
||||
await _storage.delete(key: _tokenIdKey);
|
||||
await _storage.delete(key: _expiresAtKey);
|
||||
for (final key in fieldKeys) {
|
||||
await _storage.delete(key: key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user