summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdProviderWebForms/Code/InMemoryConsumerDescription.cs
blob: 11b5ba591b06606c89608f87e8cb60a2489f2f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//-----------------------------------------------------------------------
// <copyright file="InMemoryConsumerDescription.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace OpenIdProviderWebForms.Code {
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Web;
	using DotNetOpenAuth.OAuth.ChannelElements;

	public class InMemoryConsumerDescription : IConsumerDescription {
		#region IConsumerDescription Members

		public string Key { get; set; }

		public string Secret { get; set; }

		public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get; set; }

		public Uri Callback { get; set; }

		public DotNetOpenAuth.OAuth.VerificationCodeFormat VerificationCodeFormat { get; set; }

		public int VerificationCodeLength { get; set; }

		#endregion
	}
}