summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Messaging/MessageScheme.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-23 08:08:04 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-23 08:08:04 -0700
commit22341a07b0ba0dc685bb859b0ed82c22fc3c09db (patch)
tree3a735cce2271b5b7b276bf5e4620348580726ba4 /src/DotNetOAuth/Messaging/MessageScheme.cs
parent77adf75348090e79d3e93bff78a74c8688d8b58b (diff)
downloadDotNetOpenAuth-22341a07b0ba0dc685bb859b0ed82c22fc3c09db.zip
DotNetOpenAuth-22341a07b0ba0dc685bb859b0ed82c22fc3c09db.tar.gz
DotNetOpenAuth-22341a07b0ba0dc685bb859b0ed82c22fc3c09db.tar.bz2
Implementing and refactoring ServiceProvider and Consumer classes.
Beginning to write a test for the spec's appendix A scenario.
Diffstat (limited to 'src/DotNetOAuth/Messaging/MessageScheme.cs')
-rw-r--r--src/DotNetOAuth/Messaging/MessageScheme.cs35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/DotNetOAuth/Messaging/MessageScheme.cs b/src/DotNetOAuth/Messaging/MessageScheme.cs
deleted file mode 100644
index 2c0aec1..0000000
--- a/src/DotNetOAuth/Messaging/MessageScheme.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//-----------------------------------------------------------------------
-// <copyright file="MessageScheme.cs" company="Andrew Arnott">
-// Copyright (c) Andrew Arnott. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOAuth.Messaging {
- /// <summary>
- /// The methods available for the Consumer to send direct messages to the Service Provider.
- /// </summary>
- /// <remarks>
- /// See 1.0 spec section 5.2.
- /// </remarks>
- internal enum MessageScheme {
- /// <summary>
- /// In the HTTP Authorization header as defined in OAuth HTTP Authorization Scheme (OAuth HTTP Authorization Scheme).
- /// </summary>
- AuthorizationHeaderRequest,
-
- /// <summary>
- /// As the HTTP POST request body with a content-type of application/x-www-form-urlencoded.
- /// </summary>
- PostRequest,
-
- /// <summary>
- /// Added to the URLs in the query part (as defined by [RFC3986] (Berners-Lee, T., “Uniform Resource Identifiers (URI): Generic Syntax,” .) section 3).
- /// </summary>
- GetRequest,
-
- /// <summary>
- /// Response parameters are sent by the Service Provider to return Tokens and other information to the Consumer in the HTTP response body. The parameter names and values are first encoded as per Parameter Encoding (Parameter Encoding), and concatenated with the ‘&amp;’ character (ASCII code 38) as defined in [RFC3986] (Berners-Lee, T., “Uniform Resource Identifiers (URI): Generic Syntax,” .) Section 2.1.
- /// </summary>
- QueryStyleResponse,
- }
-}