summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-17 17:49:14 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-17 17:49:14 -0700
commitea7cae52f40770d1023362dadd234b8038d9e68b (patch)
tree2bf9a9bfa01de5887be1336f4a9ece33cbf171e3 /src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs
parent2dcfb4843722237aa214294b59ed9be782ea0cec (diff)
downloadDotNetOpenAuth-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.Test/Mocks/TestDirectedMessage.cs')
-rw-r--r--src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs b/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs
index 7add28b..cdd130d 100644
--- a/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs
+++ b/src/DotNetOAuth.Test/Mocks/TestDirectedMessage.cs
@@ -6,6 +6,7 @@
namespace DotNetOAuth.Test.Mocks {
using System;
+ using System.Collections.Generic;
using System.Runtime.Serialization;
using DotNetOAuth.Messaging;
@@ -13,6 +14,8 @@ namespace DotNetOAuth.Test.Mocks {
internal class TestDirectedMessage : IDirectedProtocolMessage {
private MessageTransport transport;
+ private Dictionary<string, string> extraData = new Dictionary<string, string>();
+
internal TestDirectedMessage(MessageTransport transport) {
this.transport = transport;
}
@@ -46,6 +49,10 @@ namespace DotNetOAuth.Test.Mocks {
get { return this.transport; }
}
+ IDictionary<string, string> IProtocolMessage.ExtraData {
+ get { return this.extraData; }
+ }
+
#endregion
protected virtual MessageProtection RequiredProtection {