diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-23 22:08:04 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-12-23 22:08:04 -0800 |
commit | cf3170cf207ffa6776ccc07d4c143bd039b18025 (patch) | |
tree | a5d4931bcbf62740767516c6b9a85a635dfe7fc0 /src/DotNetOpenAuth.Core/Messaging/MessagePartAttribute.cs | |
parent | d3abc25d045d0470f10a764d73d1eec8747ef1a3 (diff) | |
download | DotNetOpenAuth-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.cs | 9 |
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> |