private function assertTrustedBrokerIp()
    {
        $baseHost = parse_url($this->idBrokerUri, PHP_URL_HOST);
        $idBrokerIp = gethostbyname(
            $baseHost
        );

        if (! $this->isTrustedIpAddress($idBrokerIp)) {
            throw new Exception(
                'The Id Broker has an IP that is not trusted ... ' . $idBrokerIp,
                1494531300
            );
        }
    }
private function assertTrustedBrokerIp()
    {
        $baseHost = parse_url($this->idBrokerUri, PHP_URL_HOST);
        $idBrokerIp = gethostbyname(
            $baseHost
        );

        if (! $this->isTrustedIpAddress($idBrokerIp)) {
            throw new Exception(
                'The Id Broker has an IP that is not trusted ... ' . $idBrokerIp,
                1494531300
            );
        }
    }
private function assertTrustedBrokerIp ( ) { $ baseHost = parse_url ( $ this -> idBrokerUri , PHP_URL_HOST ) ; $ idBrokerIp = gethostbyname ( $ baseHost ) ; if ( ! $ this -> isTrustedIpAddress ( $ idBrokerIp ) ) { throw new Exception ( 'The Id Broker has an IP that is not trusted ... ' . $ idBrokerIp , 1494531300 ) ; } }
Determine whether any of the Id-broker's IPs are not in the
trusted ranges

@throws Exception if idBrokerUri is invalid, unresolvable, or untrusted
Determine whether any of the Id - broker s IPs are not in the trusted ranges