using System.Runtime.Serialization;

namespace minimalist_oauth_rp.Models
{
    //[DataContract]
    //public class UserInfo
    //{
    //    [DataMember]
    //    public string person_status { get; set; }
    //    [DataMember]
    //    public string sub { get; set; }
    //    [DataMember]
    //    public AuthnDetails authn_details { get; set; }
    //    [DataMember]
    //    public string subject { get; set; }
    //    [DataMember]
    //    public string given_name { get; set; }
    //    [DataMember]
    //    public string policy_identifier { get; set; }
    //    [DataMember]
    //    public string tsl { get; set; }
    //    [DataMember]
    //    public string serial_number { get; set; }
    //    [DataMember]
    //    public string country { get; set; }
    //    [DataMember]
    //    public string not_before { get; set; }
    //    [DataMember]
    //    public string organization { get; set; }
    //    [DataMember]
    //    public string cif { get; set; }
    //    [DataMember]
    //    public string issuer { get; set; }
    //    [DataMember]
    //    public string email { get; set; }
    //    [DataMember]
    //    public string surname1 { get; set; }
    //    [DataMember]
    //    public string surname2 { get; set; }
    //    [DataMember]
    //    public string name { get; set; }
    //    [DataMember]
    //    public string domain { get; set; }
    //    [DataMember]
    //    public string birthdate { get; set; }
    //    [DataMember]
    //    public string register_type { get; set; }
    //    [DataMember]
    //    public string family_name { get; set; }
    //    [DataMember]
    //    public string key_usage { get; set; }
    //    [DataMember]
    //    public string dni { get; set; }
    //    [DataMember]
    //    public string acr { get; set; }
    //    [DataMember]
    //    public string not_after { get; set; }

    //}
    public class UserInfo
    {
        public string sub { get; set; }
        public AuthnDetails authn_details { get; set; }
        public string pais { get; set; }
        public string subject { get; set; }
        public string naturalPersonSemanticsIdentifier { get; set; }
        public string given_name { get; set; }
        public string policy_identifier { get; set; }
        public string tsl { get; set; }
        public string organization { get; set; }
        public string cif { get; set; }
        public string surname1 { get; set; }
        public string surname2 { get; set; }
        public string name { get; set; }
        public string domain { get; set; }
        public string birthdate { get; set; }
        public string family_name { get; set; }
        public string dni { get; set; }
        public string not_after { get; set; }
        public string person_status { get; set; }
        public string tipoAfirma { get; set; }
        public string firmaCualificada { get; set; }
        public string serial_number { get; set; }
        public string country { get; set; }
        public string fea_owner { get; set; }
        public string not_before { get; set; }
        public string legalPersonSemanticsIdentifier { get; set; }
        public string issuer { get; set; }
        public string email { get; set; }
        public string register_type { get; set; }
        //public string key_usage { get; set; }
        public string acr { get; set; }
        public string[] amr { get; set; }
    }
}