summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Protocol.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-02 08:23:29 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-02 08:23:29 -0700
commit202448b1fd4d0c15d009b2c0a6713c8fc41f8854 (patch)
treebd320e8214ab81593c282e24fc8192abf019fdfc /src/DotNetOAuth/Protocol.cs
parent5fc9c66e00bfe654450afd909aca8510e780fb1a (diff)
downloadDotNetOpenAuth-202448b1fd4d0c15d009b2c0a6713c8fc41f8854.zip
DotNetOpenAuth-202448b1fd4d0c15d009b2c0a6713c8fc41f8854.tar.gz
DotNetOpenAuth-202448b1fd4d0c15d009b2c0a6713c8fc41f8854.tar.bz2
Refactored Channel class into two classes.
Diffstat (limited to 'src/DotNetOAuth/Protocol.cs')
-rw-r--r--src/DotNetOAuth/Protocol.cs18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/DotNetOAuth/Protocol.cs b/src/DotNetOAuth/Protocol.cs
index 85bf12d..db26a9f 100644
--- a/src/DotNetOAuth/Protocol.cs
+++ b/src/DotNetOAuth/Protocol.cs
@@ -47,14 +47,9 @@ namespace DotNetOAuth {
private string parameterPrefix = "oauth_";
/// <summary>
- /// Strings that identify the various message schemes.
+ /// The scheme to use in Authorization header message requests.
/// </summary>
- /// <remarks>
- /// These strings should be checked with case INsensitivity.
- /// </remarks>
- private Dictionary<MessageScheme, string> messageSchemes = new Dictionary<MessageScheme, string> {
- { MessageScheme.AuthorizationHeaderRequest, "OAuth" },
- };
+ private string authorizationHeaderScheme = "OAuth";
/// <summary>
/// Gets the namespace to use for this version of the protocol.
@@ -71,13 +66,10 @@ namespace DotNetOAuth {
}
/// <summary>
- /// Gets the strings that identify the various message schemes.
+ /// Gets the scheme to use in Authorization header message requests.
/// </summary>
- /// <remarks>
- /// These strings should be checked with case INsensitivity.
- /// </remarks>
- internal IDictionary<MessageScheme, string> MessageSchemes {
- get { return this.messageSchemes; }
+ internal string AuthorizationHeaderScheme {
+ get { return this.authorizationHeaderScheme; }
}
}
}