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
packageSource
PackageSourceclientHandler
HttpClientHandlercredentialService
ICredentialService
Fields
MaxAuthRetries
public static readonly int MaxAuthRetries
Field Value
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposing
bool
SendAsync(HttpRequestMessage, CancellationToken)
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
request
HttpRequestMessagecancellationToken
CancellationToken