summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/Reflection
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-12-24 22:20:35 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-12-24 22:20:35 -0800
commite95fd9bcd6dbfd4f40056847dde54f600d7144a1 (patch)
treec5082703bdd2d930962b4af4bb9c49a7ad56b00c /src/DotNetOpenAuth.Core/Messaging/Reflection
parentde8497efbe0cc8ce84e3cd9c08391afa486c41ab (diff)
parentcf3170cf207ffa6776ccc07d4c143bd039b18025 (diff)
downloadDotNetOpenAuth-e95fd9bcd6dbfd4f40056847dde54f600d7144a1.zip
DotNetOpenAuth-e95fd9bcd6dbfd4f40056847dde54f600d7144a1.tar.gz
DotNetOpenAuth-e95fd9bcd6dbfd4f40056847dde54f600d7144a1.tar.bz2
Merge branch 'v4.1'
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/Reflection')
-rw-r--r--src/DotNetOpenAuth.Core/Messaging/Reflection/MessagePart.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/Reflection/MessagePart.cs b/src/DotNetOpenAuth.Core/Messaging/Reflection/MessagePart.cs
index 76de383..a6e8da2 100644
--- a/src/DotNetOpenAuth.Core/Messaging/Reflection/MessagePart.cs
+++ b/src/DotNetOpenAuth.Core/Messaging/Reflection/MessagePart.cs
@@ -115,6 +115,7 @@ namespace DotNetOpenAuth.Messaging.Reflection {
this.RequiredProtection = attribute.RequiredProtection;
this.IsRequired = attribute.IsRequired;
this.AllowEmpty = attribute.AllowEmpty;
+ this.IsSecuritySensitive = attribute.IsSecuritySensitive;
this.memberDeclaredType = (this.field != null) ? this.field.FieldType : this.property.PropertyType;
this.defaultMemberValue = DeriveDefaultValue(this.memberDeclaredType);
@@ -189,6 +190,15 @@ namespace DotNetOpenAuth.Messaging.Reflection {
internal bool IsConstantValueAvailableStatically { get; set; }
/// <summary>
+ /// Gets or sets a value indicating whether the value contained by this property contains
+ /// sensitive information that should generally not be logged.
+ /// </summary>
+ /// <value>
+ /// <c>true</c> if this instance is security sensitive; otherwise, <c>false</c>.
+ /// </value>
+ internal bool IsSecuritySensitive { get; set; }
+
+ /// <summary>
/// Gets the static constant value for this message part without a message instance.
/// </summary>
internal string StaticConstantValue {