public ClaimDescriptor Update(Action <ClaimDescriptorBuilder> update)
        {
            if (update == null)
            {
                throw new ArgumentNullException(nameof(update));
            }
            var builder = new ClaimDescriptorBuilder(this);

            update(builder);
            return(builder.Build());
        }
 public ClaimDescriptor(ClaimDescriptorBuilder builder)
     : this(builder.Type, builder.Value, builder.ValueType, builder.Issuer, builder.OriginalIssuer)
 {
 }