title: How do I set Authorization Header for my HttpClient across all pages?
body: <p>After contacting API in a login page with a successful login, I receive a JWT. And I want to set the AuthorizationHeader ONCE to use across all pages when navigating around.</p>
  <p>I'm not sure if it's possible to do this with Dependency Injection on the HttpClient (with ClientFactory)? I.e. constructor inject HttpClient and set authorization header after successful login, does that save the state of the authorization header for use on all pages? (I tried this but doesn't work for me, but maybe I'm doing it wrong.)</p>
  <p>Or do I need to pass the JWT-string around all the pages and set Authorization Header each time I change to a new page? To make any API calls, this seems weird to set everytime I call the authorized API? Which is the best approach?</p>
  <p>This is for my .NET MAUI project (basically Xamarin, but newer).</p>