RequestSecurityToken Constructor (String, SecurityToken)

Initializes a new instance of the RequestSecurityToken class using the specified token type and base token.

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

Usage

'Usage
Dim tokenType As String
Dim baseToken As SecurityToken
Dim requestSecurityToken1 As New RequestSecurityToken(tokenType, baseToken)

Syntax

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

Parameters

  • tokenType
    The type of security token being requested.
  • baseToken
    A SecurityToken used to validate the authenticity of the request.

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 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