2 // System.Net.Authorization.cs
5 // Miguel de Icaza (miguel@ximian.com)
6 // Lawrence Pit (loz@cable.a2000.nl)
8 // (C) Ximian, Inc. http://www.ximian.com
11 namespace System.Net {
13 public class Authorization {
16 string connectionGroupId;
17 string [] protectionRealm;
18 IAuthenticationModule module;
20 public Authorization (string token) : this (token, true)
24 public Authorization (string token, bool complete)
25 : this (token, complete, null)
29 public Authorization (string token, bool complete, string connectionGroupId)
32 this.complete = complete;
33 this.connectionGroupId = connectionGroupId;
36 public string Message {
40 public bool Complete {
41 get { return complete; }
44 public string ConnectionGroupId {
45 get { return connectionGroupId; }
48 public string[] ProtectionRealm {
49 get { return protectionRealm; }
50 set { protectionRealm = value; }
53 internal IAuthenticationModule Module {
54 get { return module; }
55 set { module = value; }