namespace IWS5.LdapClient.Models;

public class LdapLogInResponse
{
    public string GivenName { get; private set; }
    public string SurName { get; private set; }
    public string DisplayName { get; private set; }
    public LdapUserGroup[] MemberOf { get; private set; }
    public string SAMAccountName { get; private set; }
    public string UserPrincipalName { get; private set; }
    public string ObjectSid { get; private set; }

    public LdapLogInResponse(string givenName, string surName, string displayName, LdapUserGroup[] memberOf, string samAccountName, string userPrincipalName, string objectSid)
    {
        GivenName = givenName;
        SurName = surName;
        DisplayName = displayName;
        MemberOf = memberOf;
        SAMAccountName = samAccountName;
        UserPrincipalName = userPrincipalName;
        ObjectSid = objectSid;
    }

    public LdapLogInResponse() { }
}
