mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* *.cs -- *EventHandler.cs - Minor Corrections. * Others -- Either complete, or first draft. * ChangeLog, TODO -- Updated in accordance. svn path=/trunk/mcs/; revision=2900
61 lines
1007 B
C#
61 lines
1007 B
C#
/**
|
|
* Namespace: System.Web.Security
|
|
* Class: WindowsAuthenticationEventArgs
|
|
*
|
|
* Author: Gaurav Vaish
|
|
* Maintainer: [email protected]
|
|
* Contact: <[email protected]>, <[email protected]>
|
|
* Implementation: yes
|
|
* Status: 90%
|
|
*
|
|
* (C) Gaurav Vaish (2002)
|
|
*/
|
|
|
|
using System;
|
|
using System.Web;
|
|
using System.Security.Principal;
|
|
|
|
namespace System.Web.Security
|
|
{
|
|
public sealed class WindowsAuthenticationEventArgs : EventArgs
|
|
{
|
|
HttpContext context;
|
|
WindowsIdentity identity;
|
|
IPrincipal user;
|
|
|
|
public WindowsAuthenticationEventArgs(WindowsIdentity identity, HttpContext context)
|
|
{
|
|
this.context = context;
|
|
}
|
|
|
|
public HttpContext Context
|
|
{
|
|
get
|
|
{
|
|
return context;
|
|
}
|
|
}
|
|
|
|
public WindowsIdentity Identity
|
|
{
|
|
get
|
|
{
|
|
return identity;
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public IPrincipal User
|
|
{
|
|
get
|
|
{
|
|
return user;
|
|
}
|
|
set
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
}
|