summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/MessageTransport.cs
blob: 72fc50af81a47c6526a626f8b8ec6975b7f0b887 (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="MessageTransport.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.Messaging {
	/// <summary>
	/// The type of transport mechanism used for a message: either direct or indirect.
	/// </summary>
	public enum MessageTransport {
		/// <summary>
		/// A message that is sent directly from the Consumer to the Service Provider, or vice versa.
		/// </summary>
		Direct,

		/// <summary>
		/// A message that is sent from one party to another via a redirect in the user agent.
		/// </summary>
		Indirect,
	}
}