summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth/Messaging/MessageTransport.cs
blob: 40e6897b9aa492af79556e0474e4ad190301e1e9 (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="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOAuth.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,
	}
}