jellyfin-plugin-ldapauth/LDAP-Auth/Api/Models/UserSearchAttributes.cs

23 lines
714 B
C#

using System.ComponentModel.DataAnnotations;
using Jellyfin.Plugin.LDAP_Auth.Config;
namespace Jellyfin.Plugin.LDAP_Auth.Api.Models
{
/// <summary>
/// A subset of <see cref="PluginConfiguration"/> containing just the settings for searching for users,
/// as well as an optional string to test the search with.
/// </summary>
public class UserSearchAttributes
{
/// <summary>
/// Gets or sets the ldap search attributes.
/// </summary>
public string LdapSearchAttributes { get; set; }
/// <summary>
/// Gets or sets the username to search for as a test.
/// </summary>
public string TestSearchUsername { get; set; }
}
}