summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Messaging/Messaging/IHttpIndirectResponse.cs
blob: 7d0fe0ca912b1962da2dfa4b6cd126e5894525d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//-----------------------------------------------------------------------
// <copyright file="IHttpIndirectResponse.cs" company="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.Messaging {
	using System.Diagnostics.Contracts;
	using System.Net;

	/// <summary>
	/// An interface that allows indirect response messages to specify
	/// HTTP transport specific properties.
	/// </summary>
	public interface IHttpIndirectResponse {
		/// <summary>
		/// Gets a value indicating whether the payload for the message should be included
		/// in the redirect fragment instead of the query string or POST entity.
		/// </summary>
		bool Include301RedirectPayloadInFragment { get; }
	}
}