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