summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-16 09:22:52 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-16 09:22:52 -0700
commit145c02c4af00fbb9ac67b7acae13dcaddc75dba8 (patch)
tree9838eeef009e3f0c482c6c7b6158056f1c6755c2 /src
parent45068758daa9d7747565af3f95bea7abfa2db54a (diff)
downloadDotNetOpenAuth-145c02c4af00fbb9ac67b7acae13dcaddc75dba8.zip
DotNetOpenAuth-145c02c4af00fbb9ac67b7acae13dcaddc75dba8.tar.gz
DotNetOpenAuth-145c02c4af00fbb9ac67b7acae13dcaddc75dba8.tar.bz2
Little comment fixes.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/OpenId/ChannelElements/SigningBindingElement.cs2
-rw-r--r--src/DotNetOpenAuth/OpenId/Provider/IdentityEndpoint.cs2
-rw-r--r--src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs6
3 files changed, 6 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth/OpenId/ChannelElements/SigningBindingElement.cs b/src/DotNetOpenAuth/OpenId/ChannelElements/SigningBindingElement.cs
index 1527d33..6b96741 100644
--- a/src/DotNetOpenAuth/OpenId/ChannelElements/SigningBindingElement.cs
+++ b/src/DotNetOpenAuth/OpenId/ChannelElements/SigningBindingElement.cs
@@ -324,6 +324,8 @@ namespace DotNetOpenAuth.OpenId.ChannelElements {
/// <param name="signedMessage">The message to sign or verify.</param>
/// <returns>The association to use to sign or verify the message.</returns>
private Association GetAssociation(ITamperResistantOpenIdMessage signedMessage) {
+ Contract.Requires(signedMessage != null);
+
if (this.IsOnProvider) {
// We're on a Provider to either sign (smart/dumb) or verify a dumb signature.
bool signing = string.IsNullOrEmpty(signedMessage.Signature);
diff --git a/src/DotNetOpenAuth/OpenId/Provider/IdentityEndpoint.cs b/src/DotNetOpenAuth/OpenId/Provider/IdentityEndpoint.cs
index 2cf53e8..97da43e 100644
--- a/src/DotNetOpenAuth/OpenId/Provider/IdentityEndpoint.cs
+++ b/src/DotNetOpenAuth/OpenId/Provider/IdentityEndpoint.cs
@@ -17,7 +17,7 @@ namespace DotNetOpenAuth.OpenId.Provider {
/// how to authenticate a user.
/// </summary>
[DefaultProperty("ServerUrl")]
- [ToolboxData("<{0}:IdentityEndpoint runat=server></{0}:IdentityEndpoint>")]
+ [ToolboxData("<{0}:IdentityEndpoint runat=\"server\" ProviderEndpointUrl=\"\" />")]
public class IdentityEndpoint : XrdsPublisher {
#region Property viewstate keys
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs
index 03cef25..6ed98d6 100644
--- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs
+++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs
@@ -841,9 +841,9 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
/// <remarks>
/// A performance optimization would be to store off the
/// instance as a static member in your web site and set it
- /// to this property in your <see cref="Page.Load"/> event since
- /// instantiating these instances can be expensive on heavily trafficked
- /// web pages.
+ /// to this property in your <see cref="Control.Load">Page.Load</see>
+ /// event since instantiating these instances can be expensive on
+ /// heavily trafficked web pages.
/// </remarks>
public OpenIdRelyingParty RelyingParty {
get {