Condividi tramite


RequestSecurityToken Class

Represents a security token request.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim cancelTarget As SecurityToken
Dim requestSecurityToken1 As New RequestSecurityToken(cancelTarget)

Syntax

'Declaration
Public Class RequestSecurityToken
    Inherits SecurityTokenMessage
public class RequestSecurityToken : SecurityTokenMessage
public ref class RequestSecurityToken : SecurityTokenMessage
public class RequestSecurityToken extends SecurityTokenMessage
public class RequestSecurityToken extends SecurityTokenMessage

Remarks

A SOAP message sender that must communicate with a target Web service that requires a specific type of security token can request that security token from a security token service. The request that is made to a security token service is contained in the <RequestSecurityToken> element, as specified in the WS-Trust specification. The RequestSecurityToken class maps to the <RequestSecurityToken> element.

For more details about requesting and issuing security tokens, see Issuing Security Tokens.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Xml.OpenElementElement
     Microsoft.Web.Services3.Xml.OpenElement
       Microsoft.Web.Services3.Security.SecurityTokenMessage
        Microsoft.Web.Services3.Security.RequestSecurityToken

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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

RequestSecurityToken Members
Microsoft.Web.Services3.Security Namespace

Other Resources

Issuing Security Tokens