Редагувати

Поділитися через


PassportAuthenticationEventArgs Class

Definition

Caution

This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.

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
public sealed class PassportAuthenticationEventArgs : 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
[<System.Obsolete("This type is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")>]
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 was replaced by Windows Live ID.

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