. */ namespace SP\Domain\Auth\Ports; use SP\Domain\Auth\Providers\Ldap\LdapException; use SP\Domain\Auth\Providers\Ldap\LdapParams; /** * Interface LdapConnectionHandler */ interface LdapConnectionHandler { /** * @throws LdapException */ public function connect(LdapParams $ldapParams, ?string $username = null, ?string $password = null): void; }