blob: 1c21c85f0bc4103fca857cc301b9348905f6e92d (
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
46
47
48
49
50
51
52
|
//
// System.Net.Authorization.cs
//
// Author:
// Miguel de Icaza (miguel@ximian.com)
// Lawrence Pit (loz@cable.a2000.nl)
//
// (C) Ximian, Inc. http://www.ximian.com
//
namespace System.Net {
public class Authorization {
string token;
bool complete;
string connectionGroupId;
string [] protectionRealm;
public Authorization (string token) : this (token, true)
{
}
public Authorization (string token, bool complete)
: this (token, complete, null)
{
}
public Authorization (string token, bool complete, string connectionGroupId)
{
this.token = token;
this.complete = complete;
this.connectionGroupId = connectionGroupId;
}
public string Message {
get { return token; }
}
public bool Complete {
get { return complete; }
}
public string ConnectionGroupId {
get { return connectionGroupId; }
}
public string[] ProtectionRealm {
get { return protectionRealm; }
set { protectionRealm = value; }
}
}
}
|