Files
mono/mcs/class/System/System.Net/Authorization.cs
T
Lawrence Pit c24932898e 2002-05-06 Lawrence Pit <[email protected]>
* WebRequest.cs: added
	* WebResponse.cs: implemented
	* WebException.cs: implemented
	* WebHeaderCollection.cs: added
	* HttpVersion.cs: implemented
	* HttpContinueDelegate.cs: added
	* IWebProxy.cs: added
	* IWebRequestCreate.cs: added
	* ICertificatePolicy.cs: added
	* ServicePoint.cs: stubbed
	* ServicePointManager.cs: stubbed
	* CookieContainer.cs: added
	* Authorization.cs: implemented

svn path=/trunk/mcs/; revision=4315
2002-05-05 18:37:57 +00:00

53 lines
992 B
C#
Executable File

//
// 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; }
}
}
}