diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-20 19:17:05 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-20 19:17:05 -0700 |
commit | f7326ec97ead94425cf8b22d0aea5f7bf67ebc8f (patch) | |
tree | 9f38151bb45f78c51f8d35f96e6df1d13e5f73bf /src | |
parent | b11a9a3a69ab79c92e3d1fb0de501c5311134723 (diff) | |
download | DotNetOpenAuth-f7326ec97ead94425cf8b22d0aea5f7bf67ebc8f.zip DotNetOpenAuth-f7326ec97ead94425cf8b22d0aea5f7bf67ebc8f.tar.gz DotNetOpenAuth-f7326ec97ead94425cf8b22d0aea5f7bf67ebc8f.tar.bz2 |
Little renaming.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOAuth/Messaging/Reflection/MessagePart.cs | 4 | ||||
-rw-r--r-- | src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs | 2 | ||||
-rw-r--r-- | src/DotNetOAuth/StandardWebRequestHandler.cs | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/DotNetOAuth/Messaging/Reflection/MessagePart.cs b/src/DotNetOAuth/Messaging/Reflection/MessagePart.cs index 6556ffe..0cf7cd4 100644 --- a/src/DotNetOAuth/Messaging/Reflection/MessagePart.cs +++ b/src/DotNetOAuth/Messaging/Reflection/MessagePart.cs @@ -50,7 +50,7 @@ namespace DotNetOAuth.Messaging.Reflection { }
this.Name = attribute.Name ?? member.Name;
- this.Signed = attribute.Signed;
+ this.RequiredProtection = attribute.RequiredProtection;
this.IsRequired = attribute.IsRequired;
this.memberDeclaredType = (this.field != null) ? this.field.FieldType : this.property.PropertyType;
this.defaultMemberValue = deriveDefaultValue(this.memberDeclaredType);
@@ -67,7 +67,7 @@ namespace DotNetOAuth.Messaging.Reflection { internal string Name { get; set; }
- internal ProtectionLevel Signed { get; set; }
+ internal ProtectionLevel RequiredProtection { get; set; }
internal bool IsRequired { get; set; }
diff --git a/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs b/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs index 92960a8..c8bb8f5 100644 --- a/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs +++ b/src/DotNetOAuth/Messaging/Reflection/MessagePartAttribute.cs @@ -26,7 +26,7 @@ namespace DotNetOAuth.Messaging.Reflection { set { this.name = string.IsNullOrEmpty(value) ? null : value; }
}
- public ProtectionLevel Signed { get; set; }
+ public ProtectionLevel RequiredProtection { get; set; }
public bool IsRequired { get; set; }
}
diff --git a/src/DotNetOAuth/StandardWebRequestHandler.cs b/src/DotNetOAuth/StandardWebRequestHandler.cs index 715da72..d56562b 100644 --- a/src/DotNetOAuth/StandardWebRequestHandler.cs +++ b/src/DotNetOAuth/StandardWebRequestHandler.cs @@ -18,7 +18,8 @@ namespace DotNetOAuth { #region IWebRequestHandler Members
/// <summary>
- /// Prepares an <see cref="HttpWebRequest"/> that contains an POST entity for sending the entity.
+ /// Prepares a POST <see cref="HttpWebRequest"/> and returns the request stream
+ /// for writing out the POST entity data.
/// </summary>
/// <param name="request">The <see cref="HttpWebRequest"/> that should contain the entity.</param>
/// <returns>The stream the caller should write out the entity data to.</returns>
|