79369748

Date: 2025-01-19 21:02:10
Score: 0.5
Natty:
Report link

Nowadays you can just use the normal AuthenticationHeaderValue:

_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(token);

There is even a example in the docs

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Julian