diff options
Diffstat (limited to 'src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1HmacSha1HttpMessageHandler.cs')
-rw-r--r-- | src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1HmacSha1HttpMessageHandler.cs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1HmacSha1HttpMessageHandler.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1HmacSha1HttpMessageHandler.cs index 11de257..91a3b76 100644 --- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1HmacSha1HttpMessageHandler.cs +++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1HmacSha1HttpMessageHandler.cs @@ -33,6 +33,16 @@ namespace DotNetOpenAuth.OAuth { } /// <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 "HMAC-SHA1"; } + } + + /// <summary> /// Calculates the signature for the specified buffer. /// </summary> /// <param name="signedPayload">The payload to calculate the signature for.</param> @@ -45,15 +55,5 @@ namespace DotNetOpenAuth.OAuth { return algorithm.ComputeHash(signedPayload); } } - - /// <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 "HMAC-SHA1"; } - } } } |