<commit_before>
class AuthnRequestProxy
  PATH = "/SAML2/SSO"
  PARAM_SAML_REQUEST = "samlRequest"
  PARAM_RELAY_STATE = "relayState"
  PARAM_ORIGINATING_IP = "originating_ip"

  def initialize(api_client)
    @api_client = api_client
  end

  def proxy(saml_request, relay_state, x_forwarded_for)
    body = {
        PARAM_SAML_REQUEST => saml_request,
        PARAM_RELAY_STATE => relay_state,
        PARAM_ORIGINATING_IP => x_forwarded_for
    }
    @api_client.post(PATH, body)
  end
end<commit_msg>3321: fix case of `originatingIp` in the API<commit_after>
class AuthnRequestProxy
  PATH = "/SAML2/SSO"
  PARAM_SAML_REQUEST = "samlRequest"
  PARAM_RELAY_STATE = "relayState"
  PARAM_ORIGINATING_IP = "originatingIp"

  def initialize(api_client)
    @api_client = api_client
  end

  def proxy(saml_request, relay_state, x_forwarded_for)
    body = {
        PARAM_SAML_REQUEST => saml_request,
        PARAM_RELAY_STATE => relay_state,
        PARAM_ORIGINATING_IP => x_forwarded_for
    }
    @api_client.post(PATH, body)
  end
end
{'fraction_non_alphanumeric': 0.08173076923076923, 'fraction_numerical': 0.0057692307692307696, 'mean_word_length': 3.910377358490566, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2469900', 'n_tokens_mistral': 411, 'n_tokens_neox': 380, 'n_words': 68}