WSFederationAuthenticationModule.RedirectToIdentityProvider 方法

Redirect user to identity provider STS for obtaining a token using WS-Federation Passive Protocol.

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

用法

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

instance.RedirectToIdentityProvider(uniqueId, returnUrl, persist)

语法

声明
Public Overridable Sub RedirectToIdentityProvider ( _
    uniqueId As String, _
    returnUrl As String, _
    persist As Boolean _
)
public virtual void RedirectToIdentityProvider (
    string uniqueId,
    string returnUrl,
    bool persist
)
public:
virtual void RedirectToIdentityProvider (
    String^ uniqueId, 
    String^ returnUrl, 
    bool persist
)
public void RedirectToIdentityProvider (
    String uniqueId, 
    String returnUrl, 
    boolean persist
)
public function RedirectToIdentityProvider (
    uniqueId : String, 
    returnUrl : String, 
    persist : boolean
)

参数

  • uniqueId
    Identifier of control that is signing in.
  • returnUrl
    URL to return to upon authentication.
  • persist
    True if context cookie should be persistent.

线程安全

此类型的任何公共静态(在 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 命名空间