//----------------------------------------------------------------------- // // Copyright (c) Andrew Arnott. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOAuth { using System; using System.Collections.Generic; using System.Linq; using System.Text; using DotNetOAuth.Messaging; /// /// An OAuth-protocol specific implementation of the /// interface. /// internal class OAuthMessageTypeProvider : IMessageTypeProvider { #region IMessageTypeProvider Members /// /// 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. /// /// The name/value pairs that make up the message payload. /// /// The -derived concrete class that this message can /// deserialize to. Null if the request isn't recognized as a valid protocol message. /// public Type GetRequestMessageType(IDictionary fields) { throw new NotImplementedException(); } /// /// 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. /// /// /// The message that was sent as a request that resulted in the response. /// /// The name/value pairs that make up the message payload. /// /// The -derived concrete class that this message can /// deserialize to. Null if the request isn't recognized as a valid protocol message. /// public Type GetResponseMessageType(IProtocolMessage request, IDictionary fields) { throw new NotImplementedException(); } #endregion } }