2020-09-27 14:10:55 +00:00
|
|
|
namespace Jackett.Common.Models.IndexerConfig
|
|
|
|
{
|
|
|
|
public class ConfigurationDataBasicLoginWith2FA : ConfigurationData
|
|
|
|
{
|
2021-03-16 23:29:26 +00:00
|
|
|
public StringConfigurationItem Username { get; private set; }
|
|
|
|
public StringConfigurationItem Password { get; private set; }
|
|
|
|
public StringConfigurationItem TwoFactorAuth { get; private set; }
|
|
|
|
public DisplayInfoConfigurationItem Instructions { get; private set; }
|
2020-09-27 14:10:55 +00:00
|
|
|
|
|
|
|
public ConfigurationDataBasicLoginWith2FA(string instructionMessageOptional = null)
|
|
|
|
{
|
2021-03-16 23:29:26 +00:00
|
|
|
Username = new StringConfigurationItem("Username");
|
|
|
|
Password = new StringConfigurationItem("Password");
|
|
|
|
TwoFactorAuth = new StringConfigurationItem("Two-Factor Auth");
|
|
|
|
Instructions = new DisplayInfoConfigurationItem("", instructionMessageOptional);
|
2020-09-27 14:10:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|