summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-02-21 09:32:23 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-02-21 09:32:23 -0800
commit10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a (patch)
tree85a077c606521f5fcc5eb18c2eadf9834c2093af /src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1PlainTextMessageHandler.cs
parent82a38e5b7875b2ef48b16206e8019a02f90fee9a (diff)
downloadDotNetOpenAuth-10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a.zip
DotNetOpenAuth-10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a.tar.gz
DotNetOpenAuth-10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a.tar.bz2
StyleCop fixes.
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"; }
- }
}
}