Table of Contents

Class ProxyAuthenticationHandler

Namespace
NuGet.Protocol
Assembly
NuGet.Protocol.dll
public class ProxyAuthenticationHandler : DelegatingHandler, IDisposable
Inheritance
ProxyAuthenticationHandler
Implements
Inherited Members
Extension Methods

Constructors

ProxyAuthenticationHandler(HttpClientHandler, ICredentialService, IProxyCredentialCache)

public ProxyAuthenticationHandler(HttpClientHandler clientHandler, ICredentialService credentialService, IProxyCredentialCache credentialCache)

Parameters

clientHandler HttpClientHandler
credentialService ICredentialService
credentialCache IProxyCredentialCache

Fields

MaxAuthRetries

public static readonly int MaxAuthRetries

Field Value

int

Methods

SendAsync(HttpRequestMessage, CancellationToken)

protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)

Parameters

request HttpRequestMessage
cancellationToken CancellationToken

Returns

Task<HttpResponseMessage>