clearLocalData method

Future<void> clearLocalData()

By default Altogic saves the session and user data in local storage whenever a new session is created (e.g., through sign up or sign in methods). This method clears the locally saved session and user data. In contrast to invalidateSession, this method does not clear Session token request header in Fetcher and does not redirect to a sign in page.

Implementation

Future<void> clearLocalData() => _deleteLocalData();