Creates a WS-Federation Passive Protocol SignIn Request, using the WS-Federation parameters configured on the module.
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 rememberMeSet As Boolean
Dim returnValue As SignInRequestMessage

returnValue = instance.CreateSignInRequest(uniqueId, returnUrl, rememberMeSet)

Syntax

Visual Basic
Public Function CreateSignInRequest ( _
		uniqueId As String, _
		returnUrl As String, _
		rememberMeSet As Boolean _
) As SignInRequestMessage
C#
public SignInRequestMessage CreateSignInRequest (
		string uniqueId,
		string returnUrl,
		bool rememberMeSet
)
C++
public:
SignInRequestMessage^ CreateSignInRequest (
		String^ uniqueId, 
		String^ returnUrl, 
		bool rememberMeSet
)
J#
public SignInRequestMessage CreateSignInRequest (
		String uniqueId, 
		String returnUrl, 
		boolean rememberMeSet
)
JScript
public function CreateSignInRequest (
		uniqueId : String, 
		returnUrl : String, 
		rememberMeSet : boolean
) : SignInRequestMessage

Parameters

uniqueId
returnUrl
rememberMeSet

Return Value

Returns an instance of the SignInRequestMessage representing the WS-Federation Passive Protocol SignIn Request.

Remarks

If you need to create a new sign in request, for example to redirect to different issuers based on the web page being accessed you can use this method to create the sign in request. Before calling this method, set the appropriate parameters on the FederatedAuthenticationModule.


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