original_string: public function onMethodVerificationFailure(Member $member, $method)
      {
          $context = [
              'method' => get_class($method),
          ];
          if ($lockOutAfterCount = $member->config()->get('lock_out_after_incorrect_logins')) {
              // Add information about how many attempts have been made
              $context['attempts'] = $member->FailedLoginCount;
              $context['attempt_limit'] = $lockOutAfterCount;
          }
  
          $this->getAuditLogger()->info(sprintf(
              '"%s" (ID: %s) failed to verify using MFA method',
              $member->Email ?: $member->Title,
              $member->ID
          ), $context);
      }
code: public function onMethodVerificationFailure(Member $member, $method)
      {
          $context = [
              'method' => get_class($method),
          ];
          if ($lockOutAfterCount = $member->config()->get('lock_out_after_incorrect_logins')) {
              // Add information about how many attempts have been made
              $context['attempts'] = $member->FailedLoginCount;
              $context['attempt_limit'] = $lockOutAfterCount;
          }
  
          $this->getAuditLogger()->info(sprintf(
              '"%s" (ID: %s) failed to verify using MFA method',
              $member->Email ?: $member->Title,
              $member->ID
          ), $context);
      }
code_tokens: public function onMethodVerificationFailure ( Member $ member , $ method ) { $ context = [ 'method' => get_class ( $ method ) , ] ; if ( $ lockOutAfterCount = $ member -> config ( ) -> get ( 'lock_out_after_incorrect_logins' ) ) { // Add information about how many attempts have been made $ context [ 'attempts' ] = $ member -> FailedLoginCount ; $ context [ 'attempt_limit' ] = $ lockOutAfterCount ; } $ this -> getAuditLogger ( ) -> info ( sprintf ( '"%s" (ID: %s) failed to verify using MFA method' , $ member -> Email ? : $ member -> Title , $ member -> ID ) , $ context ) ; }
docstring: A failed login using an MFA method
  
  @param Member $member
  @param MethodInterface $method
docstring_tokens: A failed login using an MFA method