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

namespace DotNetOAuth.ChannelElements {
	using System;
	using DotNetOAuth.Messaging;

	/// <summary>
	/// Additional properties that apply specifically to OAuth messages.
	/// </summary>
	public interface IOAuthDirectedMessage : IDirectedProtocolMessage {
		/// <summary>
		/// Gets the preferred method of transport for the message.
		/// </summary>
		HttpDeliveryMethod HttpMethods { get; }

		/// <summary>
		/// Gets or sets the URL of the intended receiver of this message.
		/// </summary>
		new Uri Recipient { get; set; }
	}
}