Files
mono/mcs/class/System.Web/System.Web.Security/WindowsAuthenticationEventArgs.cs
T
Gonzalo Paniagua Javier 9e679a80e4 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* list: added new files in System.Web.Security
	* System.Web.Security/DefaultAuthenticationEventHandler.cs:
	* System.Web.Security/DefaultAuthenticationModule.cs:
	* System.Web.Security/FileAuthorizationModule.cs:
	* System.Web.Security/FormsAuthentication.cs:
	* System.Web.Security/FormsAuthenticationEventArgs.cs:
	* System.Web.Security/FormsAuthenticationEventHandler.cs:
	* System.Web.Security/FormsAuthenticationModule.cs:
	* System.Web.Security/FormsAuthenticationTicket.cs:
	* System.Web.Security/FormsIdentity.cs:
	* System.Web.Security/PassportAuthenticationEventArgs.cs:
	* System.Web.Security/PassportAuthenticationEventHandler.cs:
	* System.Web.Security/PassportAuthenticationModule.cs:
	* System.Web.Security/PassportIdentity.cs:
	* System.Web.Security/UrlAuthorizationModule.cs:
	* System.Web.Security/WindowsAuthenticationEventArgs.cs:
	* System.Web.Security/WindowsAuthenticationEventHandler.cs:
	* System.Web.Security/WindowsAuthenticationModule.cs: new files. Some
	of them implemented, some others stubbed out.

svn path=/trunk/mcs/; revision=7073
2002-08-27 02:03:20 +00:00

55 lines
828 B
C#

//
// System.Web.Security.WindowsAuthenticationEventArgs
//
// Authors:
// Gonzalo Paniagua Javier ([email protected])
//
// (C) 2002 Ximian, Inc (http://www.ximian.com)
//
using System;
using System.Security.Principal;
using System.Web;
namespace System.Web.Security
{
public sealed class WindowsAuthenticationEventArgs : EventArgs
{
WindowsIdentity identity;
HttpContext context;
IPrincipal user;
public WindowsAuthenticationEventArgs (WindowsIdentity identity, HttpContext context)
{
this.identity = identity;
this.context = context;
}
public System.Web.HttpContext Context
{
get {
return context;
}
}
public WindowsIdentity Identity
{
get {
return identity;
}
}
public IPrincipal User
{
get {
return user;
}
set {
user = value;
}
}
}
}