mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -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
1013 B
C#
61 lines
1013 B
C#
/**
|
|
* Namespace: System.Web.Security
|
|
* Class: PassportAuthenticationEventArgs
|
|
*
|
|
* Author: Gaurav Vaish
|
|
* Maintainer: [email protected]
|
|
* Contact: <[email protected]>, <[email protected]>
|
|
* Implementation: yes
|
|
* Status: 90%
|
|
*
|
|
* (C) Gaurav Vaish (2002)
|
|
*/
|
|
|
|
using System;
|
|
using System.Security.Principal;
|
|
using System.Web;
|
|
|
|
namespace System.Web.Security
|
|
{
|
|
public sealed class PassportAuthenticationEventArgs : EventArgs
|
|
{
|
|
HttpContext context;
|
|
PassportIdentity identity;
|
|
IPrincipal user;
|
|
|
|
public PassportAuthenticationEventArgs(PassportIdentity identity, HttpContext context)
|
|
{
|
|
this.context = context;
|
|
}
|
|
|
|
public HttpContext Context
|
|
{
|
|
get
|
|
{
|
|
return context;
|
|
}
|
|
}
|
|
|
|
public PassportIdentity Identity
|
|
{
|
|
get
|
|
{
|
|
return identity;
|
|
}
|
|
}
|
|
|
|
[MonoTODO]
|
|
public IPrincipal User
|
|
{
|
|
get
|
|
{
|
|
return user;
|
|
}
|
|
set
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
}
|