src/ServiceBus/Internal/WrapTokenManager.php
private function _containsValidAuthority($uriComponents)
    {
        if (!array_key_exists(Resources::PHP_URL_USER, $uriComponents)) {
            return false;
        }

        if (empty($uriComponents[Resources::PHP_URL_USER])) {
            return false;
        }

        if (!array_key_exists(Resources::PHP_URL_PASS, $uriComponents)) {
            return false;
        }

        if (empty($uriComponents[Resources::PHP_URL_PASS])) {
            return false;
        }

        return true;
    }
private function _containsValidAuthority($uriComponents)
    {
        if (!array_key_exists(Resources::PHP_URL_USER, $uriComponents)) {
            return false;
        }

        if (empty($uriComponents[Resources::PHP_URL_USER])) {
            return false;
        }

        if (!array_key_exists(Resources::PHP_URL_PASS, $uriComponents)) {
            return false;
        }

        if (empty($uriComponents[Resources::PHP_URL_PASS])) {
            return false;
        }

        return true;
    }
private function _containsValidAuthority ( $ uriComponents ) { if ( ! array_key_exists ( Resources :: PHP_URL_USER , $ uriComponents ) ) { return false ; } if ( empty ( $ uriComponents [ Resources :: PHP_URL_USER ] ) ) { return false ; } if ( ! array_key_exists ( Resources :: PHP_URL_PASS , $ uriComponents ) ) { return false ; } if ( empty ( $ uriComponents [ Resources :: PHP_URL_PASS ] ) ) { return false ; } return true ; }
Gets whether the authority related elements are valid.

@param array $uriComponents The components of an URI

@return bool
Gets whether the authority related elements are valid .