mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* 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
55 lines
828 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|