summaryrefslogtreecommitdiffstats
path: root/samples/RelyingPartyPortal/Code/State.cs
blob: 642780c7febe97b938a6d6d847ed7949b106fe94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using System.Web;
using DotNetOpenId.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; }
	}
}