Redirect user to identity provider STS for obtaining a token using WS-Federation Passive Protocol.
Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSFederationAuthenticationModule
Dim uniqueId As String
Dim returnUrl As String
Dim persist As Boolean

instance.RedirectToIdentityProvider(uniqueId, returnUrl, persist)

Syntax

Visual Basic
Public Overridable Sub RedirectToIdentityProvider ( _
		uniqueId As String, _
		returnUrl As String, _
		persist As Boolean _
)
C#
public virtual void RedirectToIdentityProvider (
		string uniqueId,
		string returnUrl,
		bool persist
)
C++
public:
virtual void RedirectToIdentityProvider (
		String^ uniqueId, 
		String^ returnUrl, 
		bool persist
)
J#
public void RedirectToIdentityProvider (
		String uniqueId, 
		String returnUrl, 
		boolean persist
)
JScript
public function RedirectToIdentityProvider (
		uniqueId : String, 
		returnUrl : String, 
		persist : boolean
)

Parameters

uniqueId

Identifier of control that is signing in.

returnUrl

URL to return to upon authentication.

persist

True if context cookie should be persistent.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also