clearSession method

  1. @override
Future<void> clearSession()
override

Removes the session and the pending identifier. Keeps the remembered credentials, "remember me" must survive a logout.

Implementation

@override
Future<void> clearSession() async {
  session = null;
  pendingIdentifier = null;
}