2021-09-27 12:42:46 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
using Wabbajack.DTOs.JsonConverters;
|
|
|
|
using Wabbajack.Server.Lib.DTOs;
|
|
|
|
using Wabbajack.Services.OSIntegrated;
|
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
namespace Wabbajack.Server.Lib.TokenProviders;
|
|
|
|
|
|
|
|
public class FtpSiteCredentialsProvider : EncryptedJsonTokenProvider<Dictionary<StorageSpace, FtpSite>>,
|
|
|
|
IFtpSiteCredentials
|
2021-09-27 12:42:46 +00:00
|
|
|
{
|
2021-10-23 16:51:17 +00:00
|
|
|
public FtpSiteCredentialsProvider(ILogger<FtpSiteCredentialsProvider> logger, DTOSerializer dtos) :
|
|
|
|
base(logger, dtos, "ftp-credentials")
|
2021-09-27 12:42:46 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|