diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-02-09 07:42:31 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-02-09 07:42:31 -0800 |
commit | c5c80c48a98e5ddfe56da2894a0e961de4ca557b (patch) | |
tree | 16d6d57b860ee24387fc8bccff9e6e1298f13373 /src/DotNetOpenAuth.Test/Mocks/CoordinatingUserAgentResponse.cs | |
parent | 1224fab92832edca08b58b971537b426abb02024 (diff) | |
download | DotNetOpenAuth-c5c80c48a98e5ddfe56da2894a0e961de4ca557b.zip DotNetOpenAuth-c5c80c48a98e5ddfe56da2894a0e961de4ca557b.tar.gz DotNetOpenAuth-c5c80c48a98e5ddfe56da2894a0e961de4ca557b.tar.bz2 |
Constructors on all OpenID direct response messages now require the OpenID version of the message, allowing for RPs to receive response messages in versions differing from their request message.
Also added test to verify this, and OpenIdProvider error messages w/o requiring ASP.NET hosting.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/CoordinatingUserAgentResponse.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Mocks/CoordinatingUserAgentResponse.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingUserAgentResponse.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingUserAgentResponse.cs index 4897e98..75c68e0 100644 --- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingUserAgentResponse.cs +++ b/src/DotNetOpenAuth.Test/Mocks/CoordinatingUserAgentResponse.cs @@ -14,6 +14,11 @@ namespace DotNetOpenAuth.Test.Mocks { internal class CoordinatingUserAgentResponse : UserAgentResponse { private CoordinatingChannel receivingChannel; + /// <summary> + /// Initializes a new instance of the <see cref="CoordinatingUserAgentResponse"/> class. + /// </summary> + /// <param name="message">The direct response message to send to the remote channel. This message will be cloned.</param> + /// <param name="receivingChannel">The receiving channel.</param> internal CoordinatingUserAgentResponse(IProtocolMessage message, CoordinatingChannel receivingChannel) { ErrorUtilities.VerifyArgumentNotNull(message, "message"); ErrorUtilities.VerifyArgumentNotNull(receivingChannel, "receivingChannel"); |