diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-22 22:13:36 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-22 22:13:36 -0700 |
commit | eb792be27a338c9e68dac8d4a919ad27bc14a7c1 (patch) | |
tree | 3cded608430f4b6e3e38304348919d6aa47f2d12 /src/DotNetOAuth/Messages/SignedMessageBase.cs | |
parent | 17971af4cbe5141367482600370f2a44d447d5d8 (diff) | |
download | DotNetOpenAuth-eb792be27a338c9e68dac8d4a919ad27bc14a7c1.zip DotNetOpenAuth-eb792be27a338c9e68dac8d4a919ad27bc14a7c1.tar.gz DotNetOpenAuth-eb792be27a338c9e68dac8d4a919ad27bc14a7c1.tar.bz2 |
Implemented the PLAINTEXT and HMAC-SHA1 signature algorithms.
Diffstat (limited to 'src/DotNetOAuth/Messages/SignedMessageBase.cs')
-rw-r--r-- | src/DotNetOAuth/Messages/SignedMessageBase.cs | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/src/DotNetOAuth/Messages/SignedMessageBase.cs b/src/DotNetOAuth/Messages/SignedMessageBase.cs index 52f03ab..bc5d48e 100644 --- a/src/DotNetOAuth/Messages/SignedMessageBase.cs +++ b/src/DotNetOAuth/Messages/SignedMessageBase.cs @@ -6,6 +6,7 @@ namespace DotNetOAuth.Messages {
using System;
+ using System.Collections.Generic;
using DotNetOAuth.ChannelElements;
using DotNetOAuth.Messaging;
using DotNetOAuth.Messaging.Bindings;
@@ -45,17 +46,45 @@ namespace DotNetOAuth.Messages { #region ITamperResistantOAuthMessage Members
/// <summary>
- /// Gets or sets the message signature.
- /// </summary>
- [MessagePart("oauth_signature")]
- string ITamperResistantProtocolMessage.Signature { get; set; }
-
- /// <summary>
/// Gets or sets the signature method used to sign the request.
/// </summary>
[MessagePart("oauth_signature_method")]
string ITamperResistantOAuthMessage.SignatureMethod { get; set; }
+ /// <summary>
+ /// Gets or sets the Token Secret used to sign the message.
+ /// Only applicable to Consumer.
+ /// </summary>
+ string ITamperResistantOAuthMessage.TokenSecret { get; set; }
+
+ /// <summary>
+ /// Gets or sets the Consumer Secret used to sign the message.
+ /// Only applicable to Consumer.
+ /// </summary>
+ string ITamperResistantOAuthMessage.ConsumerSecret { get; set; }
+
+ /// <summary>
+ /// Gets or sets the HTTP method that will be used to transmit the message.
+ /// Only applicable to Consumer.
+ /// </summary>
+ string ITamperResistantOAuthMessage.HttpMethod { get; set; }
+
+ /// <summary>
+ /// Gets or sets the extra, non-OAuth parameters that will be included in the request.
+ /// Only applicable to Consumer.
+ /// </summary>
+ IDictionary<string, string> ITamperResistantOAuthMessage.AdditionalParametersInHttpRequest { get; set; }
+
+ #endregion
+
+ #region ITamperResistantProtocolMessage Members
+
+ /// <summary>
+ /// Gets or sets the message signature.
+ /// </summary>
+ [MessagePart("oauth_signature")]
+ string ITamperResistantProtocolMessage.Signature { get; set; }
+
#endregion
#region IExpiringProtocolMessage Members
|