diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-21 09:32:23 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-21 09:32:23 -0800 |
commit | 10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a (patch) | |
tree | 85a077c606521f5fcc5eb18c2eadf9834c2093af /src/DotNetOpenAuth.OAuth.Consumer/OAuth/OAuth1HmacSha1HttpMessageHandler.cs | |
parent | 82a38e5b7875b2ef48b16206e8019a02f90fee9a (diff) | |
download | DotNetOpenAuth-10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a.zip DotNetOpenAuth-10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a.tar.gz DotNetOpenAuth-10fc3ad3a7feda0cb5ab64aabe2e26bbce94595a.tar.bz2 |
StyleCop fixes.
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"; } - } } } |