| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // System.Net.Authorization.cs
- //
- // Author:
- // Miguel de Icaza ([email protected])
- // Lawrence Pit ([email protected])
- //
- // (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; }
- }
- }
- }
|