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 Network 已替换为 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 Network 已替换为 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

指定要追加到联合品牌模板脚本页的 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

声明是否应从 Passport 域颁发机构为实际的登录 UI提供 HTTPS。 传递 -1 以指示 Passport 应使用默认值。

返回

成员登录服务器 URL,以及查询字符串中发送到登录服务器的可选信息。

注解

此类已弃用,不再受支持。 Microsoft Passport Network 已替换为 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

指定要追加到联合品牌模板脚本页的 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

声明是否应从 Passport 域颁发机构为实际的登录 UI提供 HTTPS。 传递 -1 以指示 Passport 应使用默认值。

返回

成员登录服务器 URL,以及查询字符串中发送到登录服务器的可选信息。

注解

此类已弃用,不再受支持。 Microsoft Passport Network 已替换为 Windows Live ID。

适用于