diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-07 12:35:09 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-03-07 12:35:09 -0800 |
commit | 6cb72aeabb5aa0961d2a906909b6ac0d15541074 (patch) | |
tree | efd4dbc54dab2147621c3fd593bc83078fb834fd /src | |
parent | 6cbab4a751c1c739b93859f2190a0d114c73f398 (diff) | |
download | DotNetOpenAuth-6cb72aeabb5aa0961d2a906909b6ac0d15541074.zip DotNetOpenAuth-6cb72aeabb5aa0961d2a906909b6ac0d15541074.tar.gz DotNetOpenAuth-6cb72aeabb5aa0961d2a906909b6ac0d15541074.tar.bz2 |
StyleCop fixes.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/OpenId/RelyingParty/RelyingPartyUtilities.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/RelyingPartyUtilities.cs b/src/DotNetOpenAuth/OpenId/RelyingParty/RelyingPartyUtilities.cs index 4374fd6..6d0b191 100644 --- a/src/DotNetOpenAuth/OpenId/RelyingParty/RelyingPartyUtilities.cs +++ b/src/DotNetOpenAuth/OpenId/RelyingParty/RelyingPartyUtilities.cs @@ -8,13 +8,13 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { using System; using System.Collections.Generic; using System.Diagnostics.Contracts; + using System.Globalization; using System.IO; using System.Linq; using System.Text; + using System.Web; using System.Web.Mvc; using System.Web.UI; - using System.Web; - using System.Globalization; using DotNetOpenAuth.Messaging; public static class RelyingPartyUtilities { @@ -87,8 +87,8 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { Logger.OpenId.DebugFormat("AJAX (iframe) callback from OP: {0}", request.Url); string extensionsJson = null; - var RelyingPartyNonVerifying = OpenIdRelyingParty.CreateNonVerifying(); - var authResponse = RelyingPartyNonVerifying.GetResponse(); + var relyingPartyNonVerifying = OpenIdRelyingParty.CreateNonVerifying(); + var authResponse = relyingPartyNonVerifying.GetResponse(); Logger.Controls.DebugFormat( "The MVC controller checked for an authentication response from a popup window or iframe using a non-verifying RP and found: {0}", authResponse.Status); @@ -141,7 +141,7 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { /// parameters. (i.e. "callback('arg1', 2)"). No escaping is done by this method.</param> private static ActionResult CallbackUserAgentMethod(string methodCall) { Logger.OpenId.DebugFormat("Sending Javascript callback: {0}", methodCall); - StringBuilder builder = new StringBuilder() ; + StringBuilder builder = new StringBuilder(); builder.AppendLine("<html><body><script type='text/javascript' language='javascript'><!--"); builder.AppendLine("//<![CDATA["); builder.Append(@" var inPopup = !window.frameElement; @@ -160,7 +160,7 @@ namespace DotNetOpenAuth.OpenId.RelyingParty { builder.AppendFormat(CultureInfo.InvariantCulture, htmlFormat, methodCall); builder.AppendLine("//]]>--></script>"); builder.AppendLine("</body></html>"); - return new ContentResult { Content = builder.ToString(), ContentType="text/html" }; + return new ContentResult { Content = builder.ToString(), ContentType = "text/html" }; } } } |