$this->queryString =
$queryString;
} public function supports(Request
$request): ?bool
{ return $this->authenticator->
supports($request);
} public function authenticate(Request
$request): Passport
{ $passport =
$this->authenticator->
authenticate($request);
$passport->
addBadge(new LdapBadge($this->ldapServiceId,
$this->dnString,
$this->searchDn,
$this->searchPassword,
$this->queryString
));
return $passport;
} /**
* @internal
*/
public function createAuthenticatedToken(PassportInterface
$passport, string
$firewallName): TokenInterface
{ throw new \
BadMethodCallException(sprintf('The "%s()" method cannot be called.', __METHOD__
));
}