OpenID error direct response messages are now sent with HTTP status codes of 400.
[dotnetoauth.git] / src / DotNetOpenAuth.Test / Mocks / TestDirectResponseMessageWithHttpStatus.cs
blob1dd7444b1702f6510eb8d3edf310332d89de0234
1 namespace DotNetOpenAuth.Test.Mocks {
2 using System;
3 using System.Collections.Generic;
4 using System.Linq;
5 using System.Text;
6 using DotNetOpenAuth.Messaging;
8 internal class TestDirectResponseMessageWithHttpStatus : TestMessage, IHttpDirectResponse {
9 /// <summary>
10 /// Initializes a new instance of the <see cref="TestDirectResponseMessageWithHttpStatus"/> class.
11 /// </summary>
12 internal TestDirectResponseMessageWithHttpStatus() {
15 #region IHttpDirectResponse Members
17 /// <summary>
18 /// Gets the HTTP status code that the direct respones should be sent with.
19 /// </summary>
20 /// <value></value>
21 public System.Net.HttpStatusCode HttpStatusCode { get; set; }
23 #endregion