Statistics
| Branch: | Revision:

root / trunk / hammock / src / net35 / Hammock / Authentication / OAuth / OAuthParameterHandling.cs @ 0eea575a

History | View | Annotate | Download (735 Bytes)

1
using System;
2
using System.Runtime.Serialization;
3

    
4
namespace Hammock.Authentication.OAuth
5
{
6
#if !SILVERLIGHT
7
    [Serializable]
8
#endif
9
    public enum OAuthParameterHandling
10
    {
11
#if !SILVERLIGHT && !Smartphone && !ClientProfiles && !NET20 && !MonoTouch && !NETCF
12
        [EnumMember] HttpAuthorizationHeader,
13
        [EnumMember] UrlOrPostParameters
14
#else
15
      HttpAuthorizationHeader,
16
        UrlOrPostParameters
17
#endif
18
    }
19

    
20
#if !SILVERLIGHT
21
    [Serializable]
22
#endif
23
    public enum OAuthSignatureTreatment
24
    {
25
#if !SILVERLIGHT && !Smartphone && !ClientProfiles && !NET20 && !MonoTouch && !NETCF
26
        [EnumMember]
27
        Escaped,
28
        [EnumMember]
29
        Unescaped
30
#else
31
      Escaped,
32
        Unescaped
33
#endif
34
    }
35
}