WSFederationAuthenticationModule.CreateSignInRequest 方法

Creates a WS-Federation Passive Protocol SignIn Request, using the WS-Federation parameters configured on the module.

命名空间: Microsoft.IdentityModel.Web
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    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)

语法

声明
Public Function CreateSignInRequest ( _
    uniqueId As String, _
    returnUrl As String, _
    rememberMeSet As Boolean _
) As SignInRequestMessage
public SignInRequestMessage CreateSignInRequest (
    string uniqueId,
    string returnUrl,
    bool rememberMeSet
)
public:
SignInRequestMessage^ CreateSignInRequest (
    String^ uniqueId, 
    String^ returnUrl, 
    bool rememberMeSet
)
public SignInRequestMessage CreateSignInRequest (
    String uniqueId, 
    String returnUrl, 
    boolean rememberMeSet
)
public function CreateSignInRequest (
    uniqueId : String, 
    returnUrl : String, 
    rememberMeSet : boolean
) : SignInRequestMessage

参数

  • uniqueId
     
  • returnUrl
     
  • rememberMeSet
     

返回值

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

备注

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.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

WSFederationAuthenticationModule 类
WSFederationAuthenticationModule 成员
Microsoft.IdentityModel.Web 命名空间