Пример #1
0
 public User(string authenticationType, bool isAuthenticated, string name, IarUserTypes userType, string password, string apiKey, DateTime createdOn)
 {
     AuthenticationType = authenticationType;
     IsAuthenticated    = isAuthenticated;
     Name      = name;
     UserType  = userType;
     Password  = password;
     ApiKey    = apiKey;
     CreatedOn = createdOn;
 }
Пример #2
0
        public User(string name, int memberId, int subscriberId, DateTime createdOn, IarUserTypes userType, string authenticationType, bool isAuthenticated)
        {
            Name               = name;
            MemberId           = memberId;
            SubscriberId       = subscriberId;
            CreatedOn          = createdOn;
            AuthenticationType = authenticationType;
            IsAuthenticated    = isAuthenticated;

            UserType = userType;
        }
Пример #3
0
 public User(string authenticationType, bool isAuthenticated, string name, IarUserTypes userType, string password, string apiKey, DateTime createdOn, int memberId, int subscriberId)
 {
     AuthenticationType = authenticationType;
     IsAuthenticated    = isAuthenticated;
     Name         = name;
     UserType     = userType;
     Password     = password;
     Token        = apiKey;
     CreatedOn    = createdOn;
     MemberId     = memberId;
     SubscriberId = subscriberId;
 }