clearSession method

Future<void> clearSession ()

Clears the session, i.e. the auth token.

Implementation

Future<void> clearSession() async {
  await _lock.synchronized(() async {
    _currentAuthToken = null;
  });
}