summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/Extensions/SimpleRegistration/DemandLevel.cs
blob: 254ffe1c9063602651a40bf0af868cf48955b393 (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
26
27
28
29
30
31
/********************************************************
 * Copyright (C) 2007 Andrew Arnott
 * Released under the New BSD License
 * License available here: http://www.opensource.org/licenses/bsd-license.php
 * For news or support on this file: http://blog.nerdbank.net/
 ********************************************************/

namespace DotNetOpenId.Extensions.SimpleRegistration {
	/// <summary>
	/// Specifies what level of interest a relying party has in obtaining the value
	/// of a given field offered by the Simple Registration extension.
	/// </summary>
	public enum DemandLevel {
		/// <summary>
		/// The relying party has no interest in obtaining this field.
		/// </summary>
		NoRequest,
		/// <summary>
		/// The relying party would like the value of this field, but wants
		/// the Provider to display the field to the user as optionally provided.
		/// </summary>
		Request,
		/// <summary>
		/// The relying party considers this a required field as part of
		/// authentication.  The Provider and/or user agent MAY still choose to
		/// not provide the value of the field however, according to the
		/// Simple Registration extension specification.
		/// </summary>
		Require,
	}
}