summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-12-23 22:08:04 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-12-23 22:08:04 -0800
commitcf3170cf207ffa6776ccc07d4c143bd039b18025 (patch)
treea5d4931bcbf62740767516c6b9a85a635dfe7fc0 /src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs
parentd3abc25d045d0470f10a764d73d1eec8747ef1a3 (diff)
downloadDotNetOpenAuth-cf3170cf207ffa6776ccc07d4c143bd039b18025.zip
DotNetOpenAuth-cf3170cf207ffa6776ccc07d4c143bd039b18025.tar.gz
DotNetOpenAuth-cf3170cf207ffa6776ccc07d4c143bd039b18025.tar.bz2
Sensitive message information is now masked from logging.
Fixes #243
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs')
-rw-r--r--src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs b/src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs
index 6fd95ee..8ef9b7e 100644
--- a/src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs
+++ b/src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs
@@ -101,6 +101,15 @@ namespace DotNetOpenAuth.Messaging {
}
/// <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>
+ public bool IsSecuritySensitive { get; set; }
+
+ /// <summary>
/// Gets or sets the minimum version of the protocol this attribute applies to
/// and overrides any attributes with lower values for this property.
/// </summary>