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

36 lines
987 B
C#

using System;
namespace Jellyfin.Plugin.LDAP_Auth.Api.Models
{
/// <summary>
/// LdapUser class.
/// </summary>
public class LdapUser
{
/// <summary>
/// Initializes a new instance of the <see cref="LdapUser"/> class.
/// </summary>
public LdapUser()
{
LinkedJellyfinUserId = Guid.Empty;
LdapUid = string.Empty;
ProfileImageHash = string.Empty;
}
/// <summary>
/// Gets or sets the linked Jellyfin user id.
/// </summary>
public Guid LinkedJellyfinUserId { get; set; }
/// <summary>
/// Gets or sets the LDAP Uid associated with the user.
/// </summary>
public string LdapUid { get; set; }
/// <summary>
/// Gets or sets the profile image hash. This is used to detect if the profile image provided by LDAP changed.
/// </summary>
public string ProfileImageHash { get; set; }
}
}