blob: 41e6b8e6ed1b22ffaead10112fd7a99f572a7303 (
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
32
33
34
35
36
37
|
//-----------------------------------------------------------------------
// <copyright file="AXFetchAsSregTransformBase.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OpenId.Behaviors {
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OpenId.Extensions;
using DotNetOpenAuth.OpenId.Extensions.AttributeExchange;
using DotNetOpenAuth.OpenId.Extensions.SimpleRegistration;
/// <summary>
/// An Attribute Exchange and Simple Registration filter to make all incoming attribute
/// requests look like Simple Registration requests, and to convert the response
/// to the originally requested extension and format.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Sreg", Justification = "Abbreviation")]
public abstract class AXFetchAsSregTransformBase {
/// <summary>
/// Initializes a new instance of the <see cref="AXFetchAsSregTransformBase"/> class.
/// </summary>
protected AXFetchAsSregTransformBase() {
this.AXFormats = AXAttributeFormats.Common;
}
/// <summary>
/// Gets or sets the AX attribute type URI formats this transform is willing to work with.
/// </summary>
public AXAttributeFormats AXFormats { get; set; }
}
}
|