mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
26 lines
638 B
C#
26 lines
638 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Jackett
|
|
{
|
|
public class ConfigurationDataBasicLogin : ConfigurationData
|
|
{
|
|
public StringItem Username { get; private set; }
|
|
public StringItem Password { get; private set; }
|
|
|
|
public ConfigurationDataBasicLogin()
|
|
{
|
|
Username = new StringItem { Name = "Username" };
|
|
Password = new StringItem { Name = "Password" };
|
|
}
|
|
|
|
public override Item[] GetItems()
|
|
{
|
|
return new Item[] { Username, Password };
|
|
}
|
|
}
|
|
}
|