PassportAuthenticationEventArgs Class

Definition

Warning

This API is now obsolete.

The event argument passed to the Authenticate event by a PassportAuthenticationModule. Since there is already an identity at this point, this is useful mainly for attaching a custom IPrincipal object to the context using the supplied identity. This class is deprecated.

public ref class PassportAuthenticationEventArgs sealed : EventArgs
[System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")]
public sealed class PassportAuthenticationEventArgs : EventArgs
type PassportAuthenticationEventArgs = class
    inherit EventArgs
Public NotInheritable Class PassportAuthenticationEventArgs
Inherits EventArgs
Inheritance
PassportAuthenticationEventArgs
Attributes

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.

Constructors

PassportAuthenticationEventArgs(PassportIdentity, HttpContext)

Initializes a new instance of the PassportAuthenticationEventArgs class. This class is deprecated.

Properties

Context

Gets the HttpContext object for the current HTTP request. This class is deprecated.

Identity

Gets an authenticated Passport identity. This class is deprecated.

User

Gets or sets the IPrincipal object to be associated with the request. This class is deprecated.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to