Extend HttpService.SendRequest with Authentication providers

Create a support for seamless using of HttpService.SendRequest with various types of authentication.
Provide most basic cases like OAUTH client credentials.
Make it extendable for implementing custom authentication providers.

HttpClientAuthorizationProvider

  • would have a method to get authentication token
  • would have a method to be configured from appsettings
  • the secrets should be stored encrypted
  • each provider would be applied based on a configuration of applicable url prefixes (also present in appsettings)