summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdWebRingSsoProvider/Code/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdWebRingSsoProvider/Code/Util.cs')
-rw-r--r--samples/OpenIdWebRingSsoProvider/Code/Util.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/samples/OpenIdWebRingSsoProvider/Code/Util.cs b/samples/OpenIdWebRingSsoProvider/Code/Util.cs
index 8456d51..5a3a2fc 100644
--- a/samples/OpenIdWebRingSsoProvider/Code/Util.cs
+++ b/samples/OpenIdWebRingSsoProvider/Code/Util.cs
@@ -15,6 +15,17 @@ namespace OpenIdWebRingSsoProvider.Code {
public class Util {
private const string RolesAttribute = "http://samples.dotnetopenauth.net/sso/roles";
+ /// <summary>
+ /// Gets a value indicating whether the authentication system used by the OP requires
+ /// no user interaction (an HTTP header based authentication protocol).
+ /// </summary>
+ internal static bool ImplicitAuth {
+ get {
+ // This should return false if using FormsAuthentication.
+ return bool.Parse(ConfigurationManager.AppSettings["ImplicitAuth"]);
+ }
+ }
+
public static string ExtractUserName(Uri url) {
return url.Segments[url.Segments.Length - 1];
}
@@ -100,16 +111,5 @@ namespace OpenIdWebRingSsoProvider.Code {
}
}
}
-
- /// <summary>
- /// Gets a value indicating whether the authentication system used by the OP requires
- /// no user interaction (an HTTP header based authentication protocol).
- /// </summary>
- internal static bool ImplicitAuth {
- get {
- // This should return false if using FormsAuthentication.
- return bool.Parse(ConfigurationManager.AppSettings["ImplicitAuth"]);
- }
- }
}
} \ No newline at end of file