verifyCredentials method

Future<bool> verifyCredentials()

Called to determine if the current credentials are valid.

Implementation

Future<bool> verifyCredentials() async {
  if (currentAccount?.isValid() ?? false) return true;
  var account = await authenticate();
  return account != null;
}