cancelPendingChallenge method

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

Cancels work associated with the current authentication attempt.

Implementation

@override
Future<void> cancelPendingChallenge() async {
  _attemptGeneration++;
  _clearExpectedVerifier();
  _helloNonce = null;
  if (!_reuseClientKey) _clearKeys();
  await _cancelTaskOnly();
}