// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the MIT license.
using System.Threading.Tasks;
using NuGet.Protocol.Plugins;
using NuGetCredentialProvider.Logging;
namespace NuGetCredentialProvider.RequestHandlers
{
///
/// Handles a
///
internal class SetCredentialsRequestHandler : RequestHandlerBase
{
private static readonly SetCredentialsResponse SuccessResponse = new SetCredentialsResponse(MessageResponseCode.Success);
public SetCredentialsRequestHandler(ILogger logger)
: base(logger)
{
}
public override Task HandleRequestAsync(SetCredentialsRequest request)
{
// There's currently no way to handle proxies, so nothing we can do here
return Task.FromResult(SuccessResponse);
}
}
}