asp.net.ph

PassportAuthenticationModule.Authenticate Event

System.Web.Security Namespace   PassportAuthenticationModule Class


Raised during authentication. This is a Global.asax event that must be named PassportAuthentication_OnAuthenticate.

[ VB ]
Public Event Authenticate As PassportAuthenticationEventHandler

[ C# ]
public event PassportAuthenticationEventHandler Authenticate;

[ C++ ]
public: __event PassportAuthenticationEventHandler* Authenticate;

In [ JScript ], you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type PassportAuthenticationEventArgs containing data related to this event. The following PassportAuthenticationEventArgs properties provide information specific to this event.

Property Description
Context Gets the HttpContext object for the current HTTP request.
Identity Gets an authenticated Passport identity.
User Gets or sets the IPrincipal object to be associated with the request.

Remarks

Advanced users use this event to attach a custom IPrincipal object to the context.

For more information about handling events, see Web Forms Events Model.

See Also

PassportAuthenticationModule Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph