summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/OAuthMessageTypeProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOAuth/OAuthMessageTypeProvider.cs')
-rw-r--r--src/DotNetOAuth/OAuthMessageTypeProvider.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/DotNetOAuth/OAuthMessageTypeProvider.cs b/src/DotNetOAuth/OAuthMessageTypeProvider.cs
index 63e1e6f..7d4dbcd 100644
--- a/src/DotNetOAuth/OAuthMessageTypeProvider.cs
+++ b/src/DotNetOAuth/OAuthMessageTypeProvider.cs
@@ -11,13 +11,38 @@ namespace DotNetOAuth {
using System.Text;
using DotNetOAuth.Messaging;
+ /// <summary>
+ /// An OAuth-protocol specific implementation of the <see cref="IMessageTypeProvider"/>
+ /// interface.
+ /// </summary>
internal class OAuthMessageTypeProvider : IMessageTypeProvider {
#region IMessageTypeProvider Members
+ /// <summary>
+ /// Analyzes an incoming request message payload to discover what kind of
+ /// message is embedded in it and returns the type, or null if no match is found.
+ /// </summary>
+ /// <param name="fields">The name/value pairs that make up the message payload.</param>
+ /// <returns>
+ /// The <see cref="IProtocolMessage"/>-derived concrete class that this message can
+ /// deserialize to. Null if the request isn't recognized as a valid protocol message.
+ /// </returns>
public Type GetRequestMessageType(IDictionary<string, string> fields) {
throw new NotImplementedException();
}
+ /// <summary>
+ /// Analyzes an incoming request message payload to discover what kind of
+ /// message is embedded in it and returns the type, or null if no match is found.
+ /// </summary>
+ /// <param name="request">
+ /// The message that was sent as a request that resulted in the response.
+ /// </param>
+ /// <param name="fields">The name/value pairs that make up the message payload.</param>
+ /// <returns>
+ /// The <see cref="IProtocolMessage"/>-derived concrete class that this message can
+ /// deserialize to. Null if the request isn't recognized as a valid protocol message.
+ /// </returns>
public Type GetResponseMessageType(IProtocolMessage request, IDictionary<string, string> fields) {
throw new NotImplementedException();
}