mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-10-29 19:40:00 -04:00
added http digest auth to download clients
This commit is contained in:
1 parent
9f44e0e33f
commit
c16a6753f4
37 files changed
+5376
-66
No files matched your search
+15
@@ -23,4 +23,19 @@ public class HttpClientConfig
|
||||
/// Whether requests from this client carry a User-Agent header.
|
||||
/// </summary>
|
||||
public bool SendUserAgent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// HTTP authentication scheme to answer a reverse proxy's challenge with.
|
||||
/// </summary>
|
||||
public HttpAuthType HttpAuthType { get; set; } = HttpAuthType.Basic;
|
||||
|
||||
/// <summary>
|
||||
/// Credential to send as HTTP auth, or null when this client has none configured.
|
||||
/// </summary>
|
||||
public NetworkCredential? HttpAuthCredential { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Scheme, host and port of the client's URL, used as the Digest <see cref="CredentialCache"/> key.
|
||||
/// </summary>
|
||||
public Uri? BaseUri { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user