summaryrefslogtreecommitdiffstats
path: root/samples/RelyingPartyWebForms/Code/State.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-26 14:04:40 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-26 14:04:40 -0700
commitd7bec791ff0b1fe6517c2b450d6fd1116d0a8ea7 (patch)
tree019bb8c875e2fa9c5ca07bb17af17891411307cf /samples/RelyingPartyWebForms/Code/State.cs
parent540f088953154bee2356cdf5f65a097cb6d3ebe4 (diff)
downloadDotNetOpenAuth-d7bec791ff0b1fe6517c2b450d6fd1116d0a8ea7.zip
DotNetOpenAuth-d7bec791ff0b1fe6517c2b450d6fd1116d0a8ea7.tar.gz
DotNetOpenAuth-d7bec791ff0b1fe6517c2b450d6fd1116d0a8ea7.tar.bz2
Renamed OpenID RP sample projects.
Diffstat (limited to 'samples/RelyingPartyWebForms/Code/State.cs')
-rw-r--r--samples/RelyingPartyWebForms/Code/State.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/samples/RelyingPartyWebForms/Code/State.cs b/samples/RelyingPartyWebForms/Code/State.cs
deleted file mode 100644
index 857e02a..0000000
--- a/samples/RelyingPartyWebForms/Code/State.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-namespace RelyingPartyWebForms {
- using System.Collections.Generic;
- using System.Web;
- using DotNetOpenAuth.OpenId.Extensions.ProviderAuthenticationPolicy;
- using DotNetOpenAuth.OpenId.Extensions.SimpleRegistration;
-
- /// <summary>
- /// Strong-typed bag of session state.
- /// </summary>
- public class State {
- public static ClaimsResponse ProfileFields {
- get { return HttpContext.Current.Session["ProfileFields"] as ClaimsResponse; }
- set { HttpContext.Current.Session["ProfileFields"] = value; }
- }
-
- public static string FriendlyLoginName {
- get { return HttpContext.Current.Session["FriendlyUsername"] as string; }
- set { HttpContext.Current.Session["FriendlyUsername"] = value; }
- }
-
- public static PolicyResponse PapePolicies {
- get { return HttpContext.Current.Session["PapePolicies"] as PolicyResponse; }
- set { HttpContext.Current.Session["PapePolicies"] = value; }
- }
-
- public static void Clear() {
- ProfileFields = null;
- FriendlyLoginName = null;
- PapePolicies = null;
- }
- }
-} \ No newline at end of file