blob: 2fafa60893cb03c22ddb46e8d8e313ae18ed2670 (
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
38
39
40
41
42
43
44
45
|
//-----------------------------------------------------------------------
// <copyright file="AXAttributeFormats.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OpenId.Extensions.AttributeExchange {
using System;
/// <summary>
/// The various Type URI formats an AX attribute may use by various remote parties.
/// </summary>
[Flags]
public enum AXAttributeFormats {
/// <summary>
/// No attribute format.
/// </summary>
None = 0x0,
/// <summary>
/// AX attributes should use the Type URI format starting with <c>http://axschema.org/</c>.
/// </summary>
AXSchemaOrg = 0x1,
/// <summary>
/// AX attributes should use the Type URI format starting with <c>http://schema.openid.net/</c>.
/// </summary>
SchemaOpenIdNet = 0x2,
/// <summary>
/// AX attributes should use the Type URI format starting with <c>http://openid.net/schema/</c>.
/// </summary>
OpenIdNetSchema = 0x4,
/// <summary>
/// All known schemas.
/// </summary>
All = AXSchemaOrg | SchemaOpenIdNet | OpenIdNetSchema,
/// <summary>
/// The most common schemas.
/// </summary>
Common = AXSchemaOrg | SchemaOpenIdNet,
}
}
|