summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DotNetOpenAuth.AspNet/AuthenticationResult.cs11
-rw-r--r--src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs4
-rw-r--r--src/DotNetOpenAuth.AspNet/IAuthenticationClient.cs7
-rw-r--r--src/DotNetOpenAuth.AspNet/UriHelper.cs4
4 files changed, 0 insertions, 26 deletions
diff --git a/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs b/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
index e226da9..d5fb2d1 100644
--- a/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
+++ b/src/DotNetOpenAuth.AspNet/AuthenticationResult.cs
@@ -14,8 +14,6 @@ namespace DotNetOpenAuth.AspNet {
/// Represents the result of OAuth or OpenID authentication.
/// </summary>
public class AuthenticationResult {
- #region Constants and Fields
-
/// <summary>
/// Returns an instance which indicates failed authentication.
/// </summary>
@@ -23,10 +21,6 @@ namespace DotNetOpenAuth.AspNet {
Justification = "This type is immutable.")]
public static readonly AuthenticationResult Failed = new AuthenticationResult(isSuccessful: false);
- #endregion
-
- #region Constructors and Destructors
-
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationResult"/> class.
/// </summary>
@@ -81,10 +75,6 @@ namespace DotNetOpenAuth.AspNet {
}
}
- #endregion
-
- #region Public Properties
-
/// <summary>
/// Gets the error that may have occured during the authentication process
/// </summary>
@@ -120,6 +110,5 @@ namespace DotNetOpenAuth.AspNet {
/// 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
}
}
diff --git a/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs b/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs
index 0dfa5d6..f441c07 100644
--- a/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs
+++ b/src/DotNetOpenAuth.AspNet/Clients/DictionaryExtensions.cs
@@ -13,8 +13,6 @@ namespace DotNetOpenAuth.AspNet.Clients {
/// The dictionary extensions.
/// </summary>
internal static class DictionaryExtensions {
- #region Public Methods and Operators
-
/// <summary>
/// Adds the value from an XDocument with the specified element name if it's not empty.
/// </summary>
@@ -56,7 +54,5 @@ namespace DotNetOpenAuth.AspNet.Clients {
dictionary[key] = value;
}
}
-
- #endregion
}
}
diff --git a/src/DotNetOpenAuth.AspNet/IAuthenticationClient.cs b/src/DotNetOpenAuth.AspNet/IAuthenticationClient.cs
index 58232c6..4d9acde 100644
--- a/src/DotNetOpenAuth.AspNet/IAuthenticationClient.cs
+++ b/src/DotNetOpenAuth.AspNet/IAuthenticationClient.cs
@@ -12,17 +12,11 @@ namespace DotNetOpenAuth.AspNet {
/// Represents a client which can authenticate users via an external website/provider.
/// </summary>
public interface IAuthenticationClient {
- #region Public Properties
-
/// <summary>
/// Gets the name of the provider which provides authentication service.
/// </summary>
string ProviderName { get; }
- #endregion
-
- #region Public Methods and Operators
-
/// <summary>
/// Attempts to authenticate users by forwarding them to an external website, and upon succcess or failure, redirect users back to the specified url.
/// </summary>
@@ -44,6 +38,5 @@ namespace DotNetOpenAuth.AspNet {
/// An instance of <see cref="AuthenticationResult"/> containing authentication result.
/// </returns>
AuthenticationResult VerifyAuthentication(HttpContextBase context);
- #endregion
}
}
diff --git a/src/DotNetOpenAuth.AspNet/UriHelper.cs b/src/DotNetOpenAuth.AspNet/UriHelper.cs
index 06b8bc8..602f00c 100644
--- a/src/DotNetOpenAuth.AspNet/UriHelper.cs
+++ b/src/DotNetOpenAuth.AspNet/UriHelper.cs
@@ -14,8 +14,6 @@ namespace DotNetOpenAuth.AspNet {
/// The uri helper.
/// </summary>
internal static class UriHelper {
- #region Public Methods and Operators
-
/// <summary>
/// The attach query string parameter.
/// </summary>
@@ -77,7 +75,5 @@ namespace DotNetOpenAuth.AspNet {
Uri publicUrl = context.Request.GetPublicFacingUrl();
return new Uri(publicUrl, returnUrl);
}
-
- #endregion
}
}