Redirect user to identity provider STS for obtaining a token using WS-Federation Passive Protocol.
Пространство имен: Microsoft.IdentityModel.Web
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
Dim instance As WSFederationAuthenticationModule Dim uniqueId As String Dim returnUrl As String Dim persist As Boolean instance.RedirectToIdentityProvider(uniqueId, returnUrl, persist) |
Синтаксис
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 ) |
Параметры
- uniqueId
-
Identifier of control that is signing in.
- returnUrl
-
URL to return to upon authentication.
- persist
-
True if context cookie should be persistent.
Безопасность потоков
Любые открытые статические члены
(Shared в Visual Basic) этого типа являются
поточно-ориентированными.Любые члены экземпляров не являются
гарантированно поточно-ориентированными.