Uredi

Deli z drugimi prek


PassportIdentity.AuthUrl Method

Definition

Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string. This class is deprecated.

Overloads

AuthUrl()

Returns a string containing the Login server URL for a member, as well as with optional information sent to the Login server in the query string. This class is deprecated.

AuthUrl(String)

Returns a string containing the Login server URL for a member, along with optional information sent to the Login server in the query string. This class is deprecated.

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

Returns the authentication server URL for a member. This class is deprecated.

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

Returns a string containing the Login server URL for a member, along with the optional information sent to the Login server in the query string. This class is deprecated.

AuthUrl()

Returns a string containing the Login server URL for a member, as well as with optional information sent to the Login server in the query string. This class is deprecated.

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

Returns

The Login server URL for a member, as well as optional information sent to the Login server in the query string.

Examples

// 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()

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to

AuthUrl(String)

Returns a string containing the Login server URL for a member, along with optional information sent to the Login server in the query string. This class is deprecated.

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

Parameters

strReturnUrl
String

The URL of the location that the Login server should redirect to after logon is complete. Pass null to indicate that Passport should use the default value.

Returns

The Login server URL for a member, as well as the optional information sent to the Login server in the query string.

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to

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

Returns the authentication server URL for a member. This class is deprecated.

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

Parameters

strReturnUrl
String

Sets the URL of the location that the Login server should redirect to after logon is complete. Pass null to indicate that Passport should use the default value.

iTimeWindow
Int32

Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.

fForceLogin
Boolean

Determines how the iTimeWindow parameter will be used. Pass -1 to indicate that Passport should use the default value.

strCoBrandedArgs
String

Specifies variables to be appended to the URL of the Cobranding Template script page that was specified at initial participant registration. Pass null to indicate that Passport should use the default value.

iLangID
Int32

Specifies the language in which the required domain authority page should be displayed. Pass -1 to indicate that Passport should use the default value.

strNameSpace
String

Specifies the domain in which the Passport should be created. Pass null to indicate that Passport should use the default value.

iKPP
Int32

Specifies data collection policies for purposes of Children's Online Privacy Protection Act (COPPA) compliance. Pass -1 to indicate that Passport should use the default value.

bUseSecureAuth
Boolean

Declares whether the actual logon UI should be served HTTPS from the Passport domain authority. Pass -1 to indicate that Passport should use the default value.

Returns

The Login server URL for a member, as well as the optional information sent to the Login server in the query string.

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to

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

Returns a string containing the Login server URL for a member, along with the optional information sent to the Login server in the query string. This class is deprecated.

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

Parameters

strReturnUrl
String

Sets the URL of the location that the Login server should redirect to after logon is complete. Pass null to indicate that Passport should use the default value.

iTimeWindow
Int32

Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.

iForceLogin
Int32

Determines how the iTimeWindow parameter will be used. Pass -1 to indicate that Passport should use the default value.

strCoBrandedArgs
String

Specifies variables to be appended to the URL of the Cobranding Template script page that was specified at initial participant registration. Pass null to indicate that Passport should use the default value.

iLangID
Int32

Specifies the language in which the required domain authority page should be displayed. Pass -1 to indicate that Passport should use the default value.

strNameSpace
String

Specifies the domain in which the Passport should be created. Pass null to indicate that Passport should use the default value.

iKPP
Int32

Specifies data collection policies for purposes of Children's Online Privacy Protection Act (COPPA) compliance. Pass -1 to indicate that Passport should use the default value.

iUseSecureAuth
Int32

Declares whether the actual Login UI should be served HTTPS from the Passport domain authority. Pass -1 to indicate that Passport should use the default value.

Returns

The Login server URL for a member, as well as the optional information sent to the Login server in the query string.

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to