Class HttpSourceAuthenticationHandler
public class HttpSourceAuthenticationHandler : DelegatingHandler, IDisposable
- Inheritance
-
HttpSourceAuthenticationHandler
- Implements
- Inherited Members
- Extension Methods
Constructors
HttpSourceAuthenticationHandler(PackageSource, HttpClientHandler, ICredentialService)
public HttpSourceAuthenticationHandler(PackageSource packageSource, HttpClientHandler clientHandler, ICredentialService credentialService)
Parameters
packageSourcePackageSourceclientHandlerHttpClientHandlercredentialServiceICredentialService
Fields
MaxAuthRetries
public static readonly int MaxAuthRetries
Field Value
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposingbool
SendAsync(HttpRequestMessage, CancellationToken)
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
requestHttpRequestMessagecancellationTokenCancellationToken