Export (0) Print
Expand All

PassportIdentity.GetLoginChallenge Method (String, Int32, Int32, String, Int32, String, Int32, Int32, Object)

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

Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)

public string GetLoginChallenge (
	string szRetURL,
	int iTimeWindow,
	int fForceLogin,
	string szCOBrandArgs,
	int iLangID,
	string strNameSpace,
	int iKPP,
	int iUseSecureAuth,
	Object oExtraParams
)
public String GetLoginChallenge (
	String szRetURL, 
	int iTimeWindow, 
	int fForceLogin, 
	String szCOBrandArgs, 
	int iLangID, 
	String strNameSpace, 
	int iKPP, 
	int iUseSecureAuth, 
	Object oExtraParams
)
public function GetLoginChallenge (
	szRetURL : String, 
	iTimeWindow : int, 
	fForceLogin : int, 
	szCOBrandArgs : String, 
	iLangID : int, 
	strNameSpace : String, 
	iKPP : int, 
	iUseSecureAuth : int, 
	oExtraParams : Object
) : String
Not applicable.

Parameters

szRetURL

See Passport documentation for IPassportManager3.GetLoginChallenge. Pass a null reference (Nothing in Visual Basic) 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 a null reference (Nothing in Visual Basic) 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 a null reference (Nothing in Visual Basic) 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 a null reference (Nothing in Visual Basic) to indicate that Passport should use the default value.

Return Value

A string representing the Passport Login Challenge.

For more information, see the Passport SDK documentation in the MSDN Library at http://msdn.microsoft.com/library.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft