summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-07-27 07:09:50 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-07-27 07:09:50 -0700
commitb5d2ba352753798df7769761d7bee25b4020b2ef (patch)
treeacadefd62bc5b1595133af938d0265417e2f54e8 /src
parent70953d03454c758114c9bfc3bc8b44ab79cf9fd8 (diff)
downloadDotNetOpenAuth-b5d2ba352753798df7769761d7bee25b4020b2ef.zip
DotNetOpenAuth-b5d2ba352753798df7769761d7bee25b4020b2ef.tar.gz
DotNetOpenAuth-b5d2ba352753798df7769761d7bee25b4020b2ef.tar.bz2
Added UI extension's (unpublished) icon parameter.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/OpenId/Extensions/UI/UIRequest.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/OpenId/Extensions/UI/UIRequest.cs b/src/DotNetOpenAuth/OpenId/Extensions/UI/UIRequest.cs
index 476b4ad..6a1e794 100644
--- a/src/DotNetOpenAuth/OpenId/Extensions/UI/UIRequest.cs
+++ b/src/DotNetOpenAuth/OpenId/Extensions/UI/UIRequest.cs
@@ -75,6 +75,18 @@ namespace DotNetOpenAuth.OpenId.Extensions.UI {
[MessagePart("mode", AllowEmpty = false, IsRequired = true)]
public string Mode { get { return UIModes.Popup; } }
+ /// <summary>
+ /// Gets or sets a value indicating whether the Relying Party has an icon
+ /// it would like the Provider to display to the user while asking them
+ /// whether they would like to log in.
+ /// </summary>
+ /// <value><c>true</c> if the Provider should display an icon; otherwise, <c>false</c>.</value>
+ /// <remarks>
+ /// By default, the Provider displays the relying party's favicon.ico.
+ /// </remarks>
+ [MessagePart("popup", AllowEmpty = false, IsRequired = false)]
+ public bool Icon { get; set; }
+
#region IOpenIdMessageExtension Members
/// <summary>