clear method

Future<void> clear()
override

Deletes all token information.

Implementation

clear() async {
  SharedPreferences preferences = await SharedPreferences.getInstance();
  preferences.remove(atKey);
  preferences.remove(atExpiresAtKey);
  preferences.remove(rtKey);
  preferences.remove(rtExpiresAtKey);
  preferences.remove(secureModeKey);
  preferences.remove(scopesKey);
}