diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-12-16 06:49:23 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-12-16 06:49:23 -0800 |
commit | 939f3f094214231958f2ff72dcb044117cc5ccfc (patch) | |
tree | 0e3d368ed773b109a848ce90991af1d290a77269 /src/DotNetOpenAuth.Test/Mocks/MockSigningBindingElement.cs | |
parent | e6ba4ad0adde9a1bda4b9227014360fdf34d164a (diff) | |
download | DotNetOpenAuth-939f3f094214231958f2ff72dcb044117cc5ccfc.zip DotNetOpenAuth-939f3f094214231958f2ff72dcb044117cc5ccfc.tar.gz DotNetOpenAuth-939f3f094214231958f2ff72dcb044117cc5ccfc.tar.bz2 |
Added a private Provider association test (dumb mode).
Although it passes, we're still cheating on actually validating the signature of the message at the Provider.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/MockSigningBindingElement.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Mocks/MockSigningBindingElement.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/MockSigningBindingElement.cs b/src/DotNetOpenAuth.Test/Mocks/MockSigningBindingElement.cs index eab9a39..7056d2c 100644 --- a/src/DotNetOpenAuth.Test/Mocks/MockSigningBindingElement.cs +++ b/src/DotNetOpenAuth.Test/Mocks/MockSigningBindingElement.cs @@ -21,6 +21,11 @@ namespace DotNetOpenAuth.Test.Mocks { get { return MessageProtections.TamperProtection; } } + /// <summary> + /// Gets or sets the channel that this binding element belongs to. + /// </summary> + public Channel Channel { get; set; } + bool IChannelBindingElement.PrepareMessageForSending(IProtocolMessage message) { ITamperResistantProtocolMessage signedMessage = message as ITamperResistantProtocolMessage; if (signedMessage != null) { |