logout

fun logout()

Logout the current user and purge all local data.

⚠️ WARNING: This will permanently delete all local user data!

This should be called when the user explicitly logs out. Unlike sessionExpired(), this method completely removes all local database files and cached data. Use this only for intentional logout scenarios.