summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId/Extensions/ExtensionManager.cs
blob: 9b197c9b37f1c66b200689085dc7722f447e701f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Text;

namespace DotNetOpenId.Extensions {
	internal class ExtensionManager {
		/// <summary>
		/// A list of request extensions that may be enumerated over for logging purposes.
		/// </summary>
		internal static Dictionary<IExtensionRequest, string> RequestExtensions = new Dictionary<IExtensionRequest, string> {
			{new AttributeExchange.FetchRequest(), "AX fetch"},
			{new AttributeExchange.StoreRequest(), "AX store"},
			{new ProviderAuthenticationPolicy.PolicyRequest(), "PAPE"},
			{new SimpleRegistration.ClaimsRequest(), "sreg"},
		};
		//internal static List<IExtensionResponse> ResponseExtensions = new List<IExtensionResponse> {
		//    new AttributeExchange.FetchResponse(),
		//    new AttributeExchange.StoreResponse(),
		//    new ProviderAuthenticationPolicy.PolicyResponse(),
		//    new SimpleRegistration.ClaimsResponse(),
		//};
	}
}