System.Web.Security.PassportIdentity.GetLoginChallenge Method

Logs the user on, either by generating a 302 redirect URL or initiating a Passport-aware client authentication exchange. This class is deprecated.

Syntax

public string GetLoginChallenge (string szRetURL, int iTimeWindow, int fForceLogin, string szCOBrandArgs, int iLangID, string strNameSpace, int iKPP, int iUseSecureAuth, object oExtraParams)

Parameters

szRetURL
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass null to indicate that Passport should use the default value.
iTimeWindow
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass -1 to indicate that Passport should use the default value.
fForceLogin
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass -1 to indicate that Passport should use the default value.
szCOBrandArgs
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass null to indicate that Passport should use the default value.
iLangID
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass -1 to indicate that Passport should use the default value.
strNameSpace
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass null to indicate that Passport should use the default value.
iKPP
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass -1 to indicate that Passport should use the default value.
iUseSecureAuth
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass -1 to indicate that Passport should use the default value.
oExtraParams
See Passport documentation for IPassportManager3.GetLoginChallenge. Pass null to indicate that Passport should use the default value.

Returns

A string representing the Passport Login Challenge.

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