using System.Net.Http.Headers; using System.Threading.Tasks; namespace KestrelApp.Middleware.HttpProxy { /// /// 代理身份认证 /// sealed class HttpProxyAuthenticationHandler : IHttpProxyAuthenticationHandler { public ValueTask AuthenticateAsync(AuthenticationHeaderValue? authentication) { return ValueTask.FromResult(true); } } }