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