System.Web.Security.PassportIdentity.AuthUrl Method

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

Syntax

public string AuthUrl (string strReturnUrl, int iTimeWindow, bool fForceLogin, string strCoBrandedArgs, int iLangID, string strNameSpace, int iKPP, bool bUseSecureAuth)

Parameters

strReturnUrl
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
Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.
fForceLogin
Determines how the iTimeWindow parameter will be used. Pass -1 to indicate that Passport should use the default value.
strCoBrandedArgs
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
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
Specifies the domain in which the Passport should be created. Pass null to indicate that Passport should use the default value.
iKPP
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
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 has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see tp://go.microsoft.com/fwlink/?LinkId=106346.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0