summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs
index 3cf14cd..b2e13d6 100644
--- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs
+++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs
@@ -19,13 +19,23 @@ namespace DotNetOpenAuth.OAuth {
/// </summary>
public class OAuth1PlainTextMessageHandler : OAuth1HttpMessageHandlerBase {
/// <summary>
+ /// Gets the signature method to include in the oauth_signature_method parameter.
+ /// </summary>
+ /// <value>
+ /// The signature method.
+ /// </value>
+ protected override string SignatureMethod {
+ get { return "PLAINTEXT"; }
+ }
+
+ /// <summary>
/// Calculates the signature for the specified buffer.
/// </summary>
/// <param name="signedPayload">The payload to calculate the signature for.</param>
/// <returns>
/// The signature.
/// </returns>
- /// <exception cref="System.NotImplementedException"></exception>
+ /// <exception cref="System.NotImplementedException">Always thrown.</exception>
protected override byte[] Sign(byte[] signedPayload) {
throw new NotImplementedException();
}
@@ -45,15 +55,5 @@ namespace DotNetOpenAuth.OAuth {
builder.Append(MessagingUtilities.EscapeUriDataStringRfc3986(this.AccessTokenSecret));
return builder.ToString();
}
-
- /// <summary>
- /// Gets the signature method to include in the oauth_signature_method parameter.
- /// </summary>
- /// <value>
- /// The signature method.
- /// </value>
- protected override string SignatureMethod {
- get { return "PLAINTEXT"; }
- }
}
}