PassportIdentity.AuthUrl 方法

定義

傳回包含成員的登入伺服器 URL 的字串,以及查詢字串中傳送到登入伺服器的選擇性資訊。 這個類別已被取代。

多載

AuthUrl()

傳回包含成員的登入伺服器 URL 的字串,以及查詢字串中傳送到登入伺服器的選擇性資訊。 這個類別已被取代。

AuthUrl(String)

傳回包含成員的登入伺服器 URL 的字串,以及在查詢字串中傳送到登入伺服器的選擇性資訊。 這個類別已被取代。

AuthUrl(String, Int32, Boolean, String, Int32, String, Int32, Boolean)

傳回成員的驗證伺服器 URL。 這個類別已被取代。

AuthUrl(String, Int32, Int32, String, Int32, String, Int32, Int32)

傳回包含成員的登入伺服器 URL 的字串,以及查詢字串中傳送到登入伺服器的選擇性資訊。 這個類別已被取代。

AuthUrl()

傳回包含成員的登入伺服器 URL 的字串,以及查詢字串中傳送到登入伺服器的選擇性資訊。 這個類別已被取代。

public:
 System::String ^ AuthUrl();
public string AuthUrl ();
member this.AuthUrl : unit -> string
Public Function AuthUrl () As String

傳回

成員的登入伺服器 URL,以及查詢字串中傳送到登入伺服器的選擇性資訊。

範例

// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Declare and set myURL variable = the URL of the appropriate Passport SignIn/SignOut Authority.
string myURL = newPass.AuthUrl();
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Declare and set myURL variable = the URL of the appropriate Passport SignIn/SignOut Authority.
Dim myURL As String = newPass.AuthUrl()

備註

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

適用於

AuthUrl(String)

傳回包含成員的登入伺服器 URL 的字串,以及在查詢字串中傳送到登入伺服器的選擇性資訊。 這個類別已被取代。

public:
 System::String ^ AuthUrl(System::String ^ strReturnUrl);
public string AuthUrl (string strReturnUrl);
member this.AuthUrl : string -> string
Public Function AuthUrl (strReturnUrl As String) As String

參數

strReturnUrl
String

位置的 URL,這個位置是登入完成之後,登入伺服器應該重新導向到的位置。 傳遞 null,表示 Passport 應該使用預設值。

傳回

成員的登入伺服器 URL,以及查詢字串中傳送到登入伺服器的選擇性資訊。

備註

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

適用於

AuthUrl(String, Int32, Boolean, String, Int32, String, Int32, Boolean)

傳回成員的驗證伺服器 URL。 這個類別已被取代。

public:
 System::String ^ AuthUrl(System::String ^ strReturnUrl, int iTimeWindow, bool fForceLogin, System::String ^ strCoBrandedArgs, int iLangID, System::String ^ strNameSpace, int iKPP, bool bUseSecureAuth);
public string AuthUrl (string strReturnUrl, int iTimeWindow, bool fForceLogin, string strCoBrandedArgs, int iLangID, string strNameSpace, int iKPP, bool bUseSecureAuth);
member this.AuthUrl : string * int * bool * string * int * string * int * bool -> string
Public Function AuthUrl (strReturnUrl As String, iTimeWindow As Integer, fForceLogin As Boolean, strCoBrandedArgs As String, iLangID As Integer, strNameSpace As String, iKPP As Integer, bUseSecureAuth As Boolean) As String

參數

strReturnUrl
String

設定位置的 URL,這個位置是登入伺服器在登入完成之後應該重新導向的目的位置。 傳遞 null,表示 Passport 應該使用預設值。

iTimeWindow
Int32

指定成員上一次必須登入的時間間隔。 傳遞 –1,表示 Passport 應該使用預設值。

fForceLogin
Boolean

決定 iTimeWindow 參數如何使用。 傳遞 –1,表示 Passport 應該使用預設值。

strCoBrandedArgs
String

指定要附加至 Cobranding Template 指令碼頁 URL 的變數,這個變數是在初始參與者登錄時所指定的。 傳遞 null,表示 Passport 應該使用預設值。

iLangID
Int32

指定應用來顯示必要網域授權頁面的語言。 傳遞 –1,表示 Passport 應該使用預設值。

strNameSpace
String

指定應在其中建立 Passport 的網域。 傳遞 null,表示 Passport 應該使用預設值。

iKPP
Int32

為兒童線上隱私保護法 (Children's Online Privacy Protection Act,COPPA) 規範指定資料收集原則。 傳遞 –1,表示 Passport 應該使用預設值。

bUseSecureAuth
Boolean

宣告實際的登入 UI 是否應該是 Passport 網域授權供應的 HTTPS。 傳遞 –1,表示 Passport 應該使用預設值。

傳回

成員的登入伺服器 URL,以及查詢字串中傳送到登入伺服器的選擇性資訊。

備註

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

適用於

AuthUrl(String, Int32, Int32, String, Int32, String, Int32, Int32)

傳回包含成員的登入伺服器 URL 的字串,以及查詢字串中傳送到登入伺服器的選擇性資訊。 這個類別已被取代。

public:
 System::String ^ AuthUrl(System::String ^ strReturnUrl, int iTimeWindow, int iForceLogin, System::String ^ strCoBrandedArgs, int iLangID, System::String ^ strNameSpace, int iKPP, int iUseSecureAuth);
public string AuthUrl (string strReturnUrl, int iTimeWindow, int iForceLogin, string strCoBrandedArgs, int iLangID, string strNameSpace, int iKPP, int iUseSecureAuth);
member this.AuthUrl : string * int * int * string * int * string * int * int -> string
Public Function AuthUrl (strReturnUrl As String, iTimeWindow As Integer, iForceLogin As Integer, strCoBrandedArgs As String, iLangID As Integer, strNameSpace As String, iKPP As Integer, iUseSecureAuth As Integer) As String

參數

strReturnUrl
String

設定位置的 URL,這個位置是登入伺服器在登入完成之後應該重新導向的目的位置。 傳遞 null,表示 Passport 應該使用預設值。

iTimeWindow
Int32

指定成員上一次必須登入的時間間隔。 傳遞 –1,表示 Passport 應該使用預設值。

iForceLogin
Int32

決定 iTimeWindow 參數如何使用。 傳遞 –1,表示 Passport 應該使用預設值。

strCoBrandedArgs
String

指定要附加至 Cobranding Template 指令碼頁 URL 的變數,這個變數是在初始參與者登錄時所指定的。 傳遞 null,表示 Passport 應該使用預設值。

iLangID
Int32

指定應用來顯示必要網域授權頁面的語言。 傳遞 –1,表示 Passport 應該使用預設值。

strNameSpace
String

指定應在其中建立 Passport 的網域。 傳遞 null,表示 Passport 應該使用預設值。

iKPP
Int32

為兒童線上隱私保護法 (Children's Online Privacy Protection Act,COPPA) 規範指定資料收集原則。 傳遞 –1,表示 Passport 應該使用預設值。

iUseSecureAuth
Int32

宣告實際的登入 UI 是否應該是 Passport 網域授權供應的 HTTPS。 傳遞 –1,表示 Passport 應該使用預設值。

傳回

成員的登入伺服器 URL,以及查詢字串中傳送到登入伺服器的選擇性資訊。

備註

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

適用於