Skip to content

Commit

Permalink
Merge pull request #1047 from ilya-git/main
Browse files Browse the repository at this point in the history
Updated documentation for use of delegating handler with HttpClientFactory
  • Loading branch information
clairernovotny authored Feb 4, 2021
2 parents b3b73c7 + 31e543f commit 847e514
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,7 @@ some interface `ITenantProvider` and has a data store `IAuthTokenStore` that can
private readonly ITenantProvider tenantProvider;
private readonly IAuthTokenStore authTokenStore;

public AuthHeaderHandler(ITenantProvider tenantProvider, IAuthTokenStore authTokenStore, HttpMessageHandler innerHandler = null)
: base(innerHandler ?? new HttpClientHandler())
public AuthHeaderHandler(ITenantProvider tenantProvider, IAuthTokenStore authTokenStore)
{
this.tenantProvider = tenantProvider ?? throw new ArgumentNullException(nameof(tenantProvider));
this.authTokenStore = authTokenStore ?? throw new ArgumentNullException(nameof(authTokenStore));
Expand Down

0 comments on commit 847e514

Please sign in to comment.