summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId/OpenId/Extensions/UI/UIConstants.cs
blob: 9b15e4a7ae15bffb61cbcdae4aa38e404d24f0eb (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
//-----------------------------------------------------------------------
// <copyright file="UIConstants.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.OpenId.Extensions.UI {
	/// <summary>
	/// Constants used to support the UI extension.
	/// </summary>
	internal static class UIConstants {
		/// <summary>
		/// The type URI associated with this extension.
		/// </summary>
		internal const string UITypeUri = "http://specs.openid.net/extensions/ui/1.0";

		/// <summary>
		/// The Type URI that appears in an XRDS document when the OP supports popups through the UI extension.
		/// </summary>
		internal const string PopupSupported = "http://specs.openid.net/extensions/ui/1.0/mode/popup";

		/// <summary>
		/// The Type URI that appears in an XRDS document when the OP supports the RP
		/// specifying the user's preferred language through the UI extension.
		/// </summary>
		internal const string LangPrefSupported = "http://specs.openid.net/extensions/ui/1.0/lang-pref";

		/// <summary>
		/// The Type URI that appears in the XRDS document when the OP supports the RP
		/// specifying the icon for the OP to display during authentication through the UI extension.
		/// </summary>
		internal const string IconSupported = "http://specs.openid.net/extensions/ui/1.0/icon";
	}
}