mirror of https://github.com/Jackett/Jackett
30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Jackett.Models.IndexerConfig
|
|
{
|
|
public class ConfigurationDataRecaptchaLoginWithAlternateLink : ConfigurationData
|
|
{
|
|
public StringItem Username { get; private set; }
|
|
public StringItem Password { get; private set; }
|
|
public DisplayItem Instructions { get; private set; }
|
|
public StringItem AlternateLink { get; set; }
|
|
public RecaptchaItem Captcha { get; private set; }
|
|
|
|
public ConfigurationDataRecaptchaLoginWithAlternateLink(string instructionMessageOptional = null)
|
|
{
|
|
Username = new StringItem { Name = "Username" };
|
|
Password = new StringItem { Name = "Password" };
|
|
Instructions = new DisplayItem(instructionMessageOptional) { Name = "" };
|
|
AlternateLink = new StringItem { Name = "Alternate Link" };
|
|
Captcha = new RecaptchaItem() { Name = "Recaptcha" };
|
|
}
|
|
|
|
|
|
}
|
|
}
|