summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId/OpenId/Extensions/SimpleRegistration/Constants.cs
blob: 8325b0c1fa44feff7370bc46a11915cac61a60f2 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// <auto-generated/> // disable StyleCop on this file
//-----------------------------------------------------------------------
// <copyright file="Constants.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.OpenId.Extensions.SimpleRegistration {
	using System;
	using System.Collections.Generic;
	using System.Text;

	/// <summary>
	/// Simple Registration constants
	/// </summary>
	internal static class Constants {
		internal const string sreg_ns = "http://openid.net/extensions/sreg/1.1";
		internal const string sreg_ns10 = "http://openid.net/sreg/1.0";
		internal const string sreg_ns11other = "http://openid.net/sreg/1.1";
		internal const string sreg_compatibility_alias = "sreg";
		internal const string policy_url = "policy_url";
		internal const string optional = "optional";
		internal const string required = "required";
		internal const string nickname = "nickname";
		internal const string email = "email";
		internal const string fullname = "fullname";
		internal const string dob = "dob";
		internal const string gender = "gender";
		internal const string postcode = "postcode";
		internal const string country = "country";
		internal const string language = "language";
		internal const string timezone = "timezone";
		internal static class Genders {
			internal const string Male = "M";
			internal const string Female = "F";
		}

		/// <summary>
		/// Additional type URIs that this extension is sometimes known by remote parties.
		/// </summary>
		internal static readonly string[] AdditionalTypeUris = new string[] {
			Constants.sreg_ns10,
			Constants.sreg_ns11other,
		};
	}
}