summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/Extensions/DemandLevel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenId/Extensions/DemandLevel.cs')
-rw-r--r--src/DotNetOpenId/Extensions/DemandLevel.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/DotNetOpenId/Extensions/DemandLevel.cs b/src/DotNetOpenId/Extensions/DemandLevel.cs
new file mode 100644
index 0000000..05ec8be
--- /dev/null
+++ b/src/DotNetOpenId/Extensions/DemandLevel.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace DotNetOpenId.Extensions {
+ /// <summary>
+ /// Indicates a relying party's level of desire for a particular value
+ /// to be provided by the OpenID Provider.
+ /// </summary>
+ public enum DemandLevel {
+ /// <summary>
+ /// The relying party considers this information as optional.
+ /// </summary>
+ Optional,
+ /// <summary>
+ /// The relying party considers this information as required.
+ /// Note however, that the Provider still has the option to not supply this value.
+ /// </summary>
+ Required,
+ }
+}