diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-17 17:49:14 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-17 17:49:14 -0700 |
commit | ea7cae52f40770d1023362dadd234b8038d9e68b (patch) | |
tree | 2bf9a9bfa01de5887be1336f4a9ece33cbf171e3 /src/DotNetOAuth/Messaging/IProtocolMessage.cs | |
parent | 2dcfb4843722237aa214294b59ed9be782ea0cec (diff) | |
download | DotNetOpenAuth-ea7cae52f40770d1023362dadd234b8038d9e68b.zip DotNetOpenAuth-ea7cae52f40770d1023362dadd234b8038d9e68b.tar.gz DotNetOpenAuth-ea7cae52f40770d1023362dadd234b8038d9e68b.tar.bz2 |
Added MessageDictionary and supporting classes and tests.
Very little documentation is there until I can prove the idea works to solve our signing design problem.
Diffstat (limited to 'src/DotNetOAuth/Messaging/IProtocolMessage.cs')
-rw-r--r-- | src/DotNetOAuth/Messaging/IProtocolMessage.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/DotNetOAuth/Messaging/IProtocolMessage.cs b/src/DotNetOAuth/Messaging/IProtocolMessage.cs index 61df813..a95822c 100644 --- a/src/DotNetOAuth/Messaging/IProtocolMessage.cs +++ b/src/DotNetOAuth/Messaging/IProtocolMessage.cs @@ -30,6 +30,15 @@ namespace DotNetOAuth.Messaging { MessageTransport Transport { get; }
/// <summary>
+ /// Gets the dictionary of additional name/value fields tacked on to this message.
+ /// </summary>
+ /// <remarks>
+ /// Implementations of <see cref="IProtocolMessage"/> should ensure that this property
+ /// never returns null.
+ /// </remarks>
+ IDictionary<string, string> ExtraData { get; }
+
+ /// <summary>
/// Checks the message state for conformity to the protocol specification
/// and throws an exception if the message is invalid.
/// </summary>
|