code: public function preprocessCredential($credential)
      {
          $processor = $this->getCredentialPreprocessor();
          if (is_callable($processor)) {
              return $processor($credential);
          }
  
          return $credential;
      }
docs: Preprocess credential
  
  @param string $credential
  @return string