clearStorage method

  1. @override
Future clearStorage()
override

Clears all stored authentication tokens and cached responses.

Use this when the user logs out to ensure all sensitive data is removed.

Implementation

@override
Future clearStorage() async {
  await authHandler.clear();
  if (_options.cacheEnabled) {
    await cacheHandler.clear();
  }
}