Sdílet prostřednictvím


RequestSecurityToken Constructor (String, AppliesTo)

Initializes a new instance of the RequestSecurityToken class using the specified token type, base token, and target Web service.

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

Usage

'Usage
Dim tokenType As String
Dim appliesTo As AppliesTo
Dim requestSecurityToken1 As New RequestSecurityToken(tokenType, appliesTo)

Syntax

'Declaration
Public Sub New( _
    ByVal tokenType As String, _
    ByVal appliesTo As AppliesTo _
)
public RequestSecurityToken(
    string tokenType, 
    AppliesTo appliesTo
);
public:
RequestSecurityToken(
    String^ tokenType, 
    AppliesTo^ appliesTo
);
public RequestSecurityToken(
    System.String tokenType, 
    AppliesTo appliesTo
);
public function RequestSecurityToken(
     tokenType : String, 
     appliesTo : AppliesTo
);

Parameters

  • tokenType
    The type of security token being requested.
  • appliesTo
    An AppliesTo that specifies the target Web service for which a security token is being requested.

Remarks

When sending a request that is signed, pass the security token used to sign the request as the baseToken parameter.

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 Class
RequestSecurityToken Members
Microsoft.Web.Services3.Security Namespace