title: How to specify multiple parameters for authorization on HttpClient?
body: <p>I'm trying the following approach, which fails because of the authorization issues. I know what a correct authorization string in the headers look like in the browser.</p>
  
  <blockquote>
    <p>oauth_signature_method="PLAINTEXT"<br>
    oauth_consumer_key="beep"<br>
    oauth_token="boop"<br>
    oauth_signature="baap";</p>
  </blockquote>
  
  <p>I've tried to improve it by specifying </p>
  
  <pre><code>using (HttpClient client = new HttpClient())
  {
    AuthenticationHeaderValue header = new AuthenticationHeaderValue(
      "oauth_signature_method", "PLAINTEXT");
    client.DefaultRequestHeaders.Authorization = header;
  
    HttpResponseMessage message = await client.GetAsync(url);
    result = await message.Content.ReadAsStringAsync();
  }
  </code></pre>
  
  <p>However, I get stuck because I'm not sure how to specify multiple parameters of the authorization part of the header. Also, when I execute the above, I get the error message that signature method must be set to plain text, so I'm fairly certain that even this approach might be flawed like a crazy pig.</p>
  
  <p>Googling gave me nothing, except examples where people only specify a single parameter.</p>