feat(auth): Enhance logout flow with comprehensive data clearing

This commit is contained in:
cogwheel0
2025-11-12 13:44:05 +05:30
parent 45135d9185
commit ecf760d9ec
6 changed files with 45 additions and 11 deletions

View File

@@ -100,11 +100,11 @@ class AuthCacheManager {
DebugLogger.storage('Cache entry cleared: $key');
}
/// Clear all auth-related cache
/// Clear all auth-related cache including server configs
void clearAuthCache() {
_cache.clear();
_cacheTimestamps.clear();
DebugLogger.storage('All auth cache cleared');
DebugLogger.storage('All auth cache cleared (including server configs and custom headers)');
}
/// Clear expired cache entries