public override int GetHashCode()
        {
            var hashCode = 1528838401;

            hashCode = hashCode * -1521134295 + UserInfoType.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UserInfo);

            hashCode = hashCode * -1521134295 + MinRegistrationLevel.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <SortedSet <AttributeToReturn> > .Default.GetHashCode(AttributesToReturn);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(RelyingPartyId);

            return(hashCode);
        }
 public SetOptionalParamsBuilder SetMinRegistrationLevel(MinRegistrationLevel minRegistrationLevel)
 {
     this.minRegistrationLevel = minRegistrationLevel;
     return(this);
 }
 internal InitiateAuthenticationRequest(UserInfoType userInfoType, string userInfo, MinRegistrationLevel minRegistrationLevel, SortedSet <AttributeToReturn> attributesToReturn, string relyingPartyId)
 {
     this.UserInfoType         = userInfoType;
     this.UserInfo             = userInfo;
     this.MinRegistrationLevel = minRegistrationLevel;
     this.AttributesToReturn   = attributesToReturn;
     this.RelyingPartyId       = relyingPartyId;
 }
 internal InitiateAuthenticationRequest(UserInfoType userInfoType, string userInfo, MinRegistrationLevel minRegistrationLevel, SortedSet <AttributeToReturn> attributesToReturn)
     : this(userInfoType, userInfo, minRegistrationLevel, attributesToReturn, null)
 {
 }