microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
759 stars 707 forks source link

Add UserAgent and IMsalHttpClientFactory support to authentication library #404

Closed JohnSchmeichel closed 1 year ago

JohnSchmeichel commented 1 year ago

Bringing PlatformUtils and UserAgent defaults over to the authentication library. Since netstandard2.0 doesn't have all the types required it's still expected that callers will need to construct their own http client factory. For .NET Framework however, using a static HttpClient is still the recommendation so providing some extension methods to support that.