PassportAuthenticationEventArgs 類別

定義

警告

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

事件引數,由 Authenticate 傳遞至 PassportAuthenticationModule 事件。 既然在這個時候已經有識別 (Identity),這將主要有助於使用所提供的識別將自訂的 IPrincipal 物件附加至內容。 這個類別已被取代。

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
繼承
PassportAuthenticationEventArgs
屬性

備註

這個類別已被取代,不再受到支援。 Microsoft Passport 網路已由 Windows Live ID 取代。

建構函式

PassportAuthenticationEventArgs(PassportIdentity, HttpContext)
已淘汰.

初始化 PassportAuthenticationEventArgs 類別的新執行個體。 這個類別已被取代。

屬性

Context
已淘汰.

取得目前 HTTP 要求的 HttpContext 物件。 這個類別已被取代。

Identity
已淘汰.

取得已驗證的 Passport 識別。 這個類別已被取代。

User
已淘汰.

取得或設定要與要求相關聯的 IPrincipal 物件。 這個類別已被取代。

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於