RequestSecurityToken Constructor (String, AppliesTo)

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

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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.

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

RequestSecurityToken Class
Microsoft.Web.Services2.Security Namespace

Other Resources

RequestSecurityToken Members