diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-01-29 16:52:00 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2009-01-29 16:52:00 -0800 |
commit | f152c066e5c3e0bf9bf7b4938dd996083dcc9399 (patch) | |
tree | 135a546630d769f7188e724b35e3862879f06aa2 /src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs | |
parent | c701066381fc2c73bec4f63981d7637aa33b713b (diff) | |
download | DotNetOpenAuth-f152c066e5c3e0bf9bf7b4938dd996083dcc9399.zip DotNetOpenAuth-f152c066e5c3e0bf9bf7b4938dd996083dcc9399.tar.gz DotNetOpenAuth-f152c066e5c3e0bf9bf7b4938dd996083dcc9399.tar.bz2 |
OpenID error direct response messages are now sent with HTTP status codes of 400.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs b/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs new file mode 100644 index 0000000..1dd7444 --- /dev/null +++ b/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs @@ -0,0 +1,25 @@ +namespace DotNetOpenAuth.Test.Mocks { + using System; + using System.Collections.Generic; + using System.Linq; + using System.Text; + using DotNetOpenAuth.Messaging; + + internal class TestDirectResponseMessageWithHttpStatus : TestMessage, IHttpDirectResponse { + /// <summary> + /// Initializes a new instance of the <see cref="TestDirectResponseMessageWithHttpStatus"/> class. + /// </summary> + internal TestDirectResponseMessageWithHttpStatus() { + } + + #region IHttpDirectResponse Members + + /// <summary> + /// Gets the HTTP status code that the direct respones should be sent with. + /// </summary> + /// <value></value> + public System.Net.HttpStatusCode HttpStatusCode { get; set; } + + #endregion + } +} |