code: public function checkPreAuth(UserInterface $user): void
      {
          if (!$user instanceof User) {
              return;
          }
  
          $this->checkIfAccountIsLocked($user);
          $this->checkIfAccountIsDisabled($user);
          $this->checkIfLoginIsAllowed($user);
          $this->checkIfAccountIsActive($user);
      }
docs: {@inheritdoc}