summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId/OpenId/Extensions/SimpleRegistration/DemandLevel.cs
blob: 7129270be1ed72a83a4af51148e9f7a489bffc6e (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
32
//-----------------------------------------------------------------------
// <copyright file="DemandLevel.cs" company="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

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