Skip to content

Instantly share code, notes, and snippets.

Oren Novotny onovotny

Block or report user

Report or block onovotny

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View AuthenticatedHttpClientHandler.cs
class AuthenticatedHttpClientHandler : HttpClientHandler
private readonly Func<Task<string>> getToken;
public AuthenticatedHttpClientHandler(Func<Task<string>> getToken)
if (getToken == null) throw new ArgumentNullException("getToken");
this.getToken = getToken;
You can’t perform that action at this time.