using System; using NuGet.Protocol.Plugins; namespace NugetSecretCredential; internal class SetCredentialsRequestHandler : RequestHandlerBase { private static readonly SetCredentialsResponse SuccessResponse = new SetCredentialsResponse(MessageResponseCode.Success); public override Task HandleRequestAsync(SetCredentialsRequest request, CancellationToken cancel) { // There's currently no way to handle proxies, so nothing we can do here return Task.FromResult(SuccessResponse); } }