summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-11-20 06:54:14 -0800
committerAndrew <andrewarnott@gmail.com>2008-11-20 06:54:14 -0800
commit1a882368e2e99e9360cfd1f4f23f5acb70306436 (patch)
treeab0d370a8b8b9d5b638524f189a39991970834bb /src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs
parentd51be63270463542a308a9a2cef992b7d55baaa6 (diff)
downloadDotNetOpenAuth-1a882368e2e99e9360cfd1f4f23f5acb70306436.zip
DotNetOpenAuth-1a882368e2e99e9360cfd1f4f23f5acb70306436.tar.gz
DotNetOpenAuth-1a882368e2e99e9360cfd1f4f23f5acb70306436.tar.bz2
Reworked the way messages are instantiated and deserialized.
This was a whole lot of work to just get multi-version capability added to message types so that OpenID could handle its few versions.
Diffstat (limited to 'src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs')
-rw-r--r--src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs b/src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs
index 0d27569..a4c4d3e 100644
--- a/src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs
+++ b/src/DotNetOpenAuth/OpenId/Messages/DirectErrorResponse.cs
@@ -16,6 +16,14 @@ namespace DotNetOpenAuth.OpenId.Messages {
/// </remarks>
internal class DirectErrorResponse : DirectResponseBase {
/// <summary>
+ /// Initializes a new instance of the <see cref="DirectErrorResponse"/> class.
+ /// </summary>
+ /// <param name="originatingRequest">The originating request.</param>
+ internal DirectErrorResponse(IDirectedProtocolMessage originatingRequest)
+ : base(originatingRequest) {
+ }
+
+ /// <summary>
/// Gets or sets a human-readable message indicating why the request failed.
/// </summary>
[MessagePart("error", IsRequired = true, AllowEmpty = true)]