summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-11 17:33:33 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-11 17:33:33 -0700
commitedb0bcda46d8dfffe7f8e54b6adfe3c893155162 (patch)
tree4328b869aa6b28cf07e315cba69d44eb738b9dd4 /src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
parent5be96b6adb05a7840080b148b56055ac5d3ec436 (diff)
downloadDotNetOpenAuth-edb0bcda46d8dfffe7f8e54b6adfe3c893155162.zip
DotNetOpenAuth-edb0bcda46d8dfffe7f8e54b6adfe3c893155162.tar.gz
DotNetOpenAuth-edb0bcda46d8dfffe7f8e54b6adfe3c893155162.tar.bz2
Added explanatory comments and security warnings to the AuthenticationResult in the AspNet project.
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/AuthenticationResult.cs')
-rw-r--r--src/DotNetOpenAuth.AspNet/AuthenticationResult.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs b/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
index d5ef109..e226da9 100644
--- a/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
+++ b/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
@@ -107,13 +107,18 @@ namespace DotNetOpenAuth.AspNet {
public string Provider { get; private set; }
/// <summary>
- /// Gets the unique user id that is returned from the provider.
+ /// Gets the user id that is returned from the provider. It is unique only within the Provider's namespace.
/// </summary>
public string ProviderUserId { get; private set; }
/// <summary>
- /// Gets the user name that is returned from the provider.
+ /// Gets an (insecure, non-unique) alias for the user that the user should recognize as himself/herself.
/// </summary>
+ /// <value>This may take the form of an email address, a URL, or any other value that the user may recognize.</value>
+ /// <remarks>
+ /// This alias may come from the Provider or may be derived by the relying party if the Provider does not supply one.
+ /// It is not guaranteed to be unique and certainly does not merit any trust in any suggested authenticity.
+ /// </remarks>
public string UserName { get; private set; }
#endregion
}