/**
  * Increment authentication failures count and lock user account if the limit is reached.
  *
  * Account will be locked until lock expires.
  *
  * @param string $userName
  * @param int $userType
  * @return void
  */
 public function logAuthenticationFailure($userName, $userType)
 {
     $this->requestLogWriter->incrementFailuresCount($userName, $userType);
 }
 /**
  * Clearing log of outdated token request authentication failures.
  *
  * @return void
  */
 public function execute()
 {
     $this->requestLogWriter->clearExpiredFailures();
 }