private function _createAuthority($uriComponents)
    {
        $authority = sprintf(
            Resources::AUTHORITY_FORMAT,
            $uriComponents[Resources::PHP_URL_USER],
            $uriComponents[Resources::PHP_URL_PASS]
        );

        return $authority;
    }