Share via


SecurityTokenServiceClient Class

Represents a proxy class that communicates with security token services.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim destination As EndpointReference
Dim securityTokenServiceClient1 As New SecurityTokenServiceClient(destination)

Syntax

'Declaration
Public Class SecurityTokenServiceClient
    Inherits SoapClient
public class SecurityTokenServiceClient : SoapClient
public ref class SecurityTokenServiceClient : public SoapClient
public class SecurityTokenServiceClient extends SoapClient
public class SecurityTokenServiceClient extends SoapClient

Remarks

A SOAP message sender uses this class to communicate with a security token class to request and obtain a security token. The SOAP message sender then uses this security token to communicate with a target Web service. To request a security token, call the IssueSecurityToken method.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services2.Messaging.SoapPort
     Microsoft.Web.Services2.Messaging.SoapSender
       Microsoft.Web.Services2.Messaging.SoapClient
        Microsoft.Web.Services2.Security.SecurityTokenServiceClient
           Microsoft.Web.Services2.Security.SecurityContextTokenServiceClient

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 XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityTokenServiceClient Members