asp.net.ph

PassportIdentity.AuthUrl Method ( String, Int32, Int32, String, Int32, String, Int32, Int32 )

System.Web.Security Namespace   PassportIdentity Class


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

[ VB ]
Overloads 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

[ C# ]
public string AuthUrl (
   string strReturnUrl,
   int iTimeWindow,
   int iForceLogin,
   string strCoBrandedArgs,
   int iLangID,
   string strNameSpace,
   int iKPP,
   int iUseSecureAuth
);

[ C++ ]
public: String* AuthUrl (
   String* strReturnUrl,
   int iTimeWindow,
   int iForceLogin,
   String* strCoBrandedArgs,
   int iLangID,
   String* strNameSpace,
   int iKPP,
   int iUseSecureAuth
);

[ JScript ]
public function AuthUrl (
   strReturnUrl : String,
   iTimeWindow : int,
   iForceLogin : int,
   strCoBrandedArgs : String,
   iLangID : int,
   strNameSpace : String,
   iKPP : int,
   iUseSecureAuth : int
 ) : String;

Parameters

strReturnUrl
Sets the URL of the location that the Login server should redirect to after logon is complete. Pass a null reference ( Nothing in Visual Basic ) 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.
iForceLogin
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 a null reference ( Nothing in Visual Basic ) 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 a null reference ( Nothing in Visual Basic ) 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.
iUseSecureAuth
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.

Return Value

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

Remarks

You can use this URL to generate a link for a member who has not previously signed in or who has an expired ticket. For more details, see IPassportManager.AuthUrl in the Passport SDK documentation, available in the MSDN Library.

NOTE: AuthUrl2 is preferred over AuthUrl.

See Also

PassportIdentity Members   PassportIdentity.AuthUrl Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph