title: Authorization token not binding in ASP.NET Core
body: <p>I'm calling a REST api like so:</p>
  
  <pre><code>HttpClient client;
  var uri = new Uri(Const.GetUserAccount);
  client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("accessToken", App.AccessToken);
  var response = await client.GetAsync(uri);
  </code></pre>
  
  <p>And here is my action signature (accessToken is null):</p>
  
  <pre><code>public async Task&lt;ActionResult&gt; GetAccountAsync([FromHeader] string accessToken)
  </code></pre>
  
  <p>The token is in Request.Headers.HeaderAuthorization and its value is:</p>
  
  <pre><code>"accessToken" + a space + the guid
  </code></pre>
  
  <p>That seems odd. Shouldn't there be a name value pair? Like:</p>
  
  <p>"accessToken": "theGUID"</p>
  
  <p>Is this why it's not binding? If so, how do I pass it correctly? If not, what am I doing wrong?</p>