Share via


RequestSecurityTokenResponse.RequestedSecurityToken Property

Gets or sets the security token issued by the security token service.

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

Usage

'Usage
Dim requestSecurityTokenResponse1 As RequestSecurityTokenResponse

Dim returnValue As RequestedSecurityToken
returnValue = requestSecurityTokenResponse1.RequestedSecurityToken

Dim sampleValue As RequestedSecurityToken
requestSecurityTokenResponse1.RequestedSecurityToken = sampleValue

Syntax

'Declaration
Public Property RequestedSecurityToken() As RequestedSecurityToken
public RequestedSecurityToken RequestedSecurityToken {get; set;}
public: property RequestedSecurityToken^ RequestedSecurityToken{
    RequestedSecurityToken^ get();
    Void set(RequestedSecurityToken^);
}
public RequestedSecurityToken get_RequestedSecurityToken();
public void set_RequestedSecurityToken(RequestedSecurityToken);
public function get RequestedSecurityToken() : RequestedSecurityToken;
public function set RequestedSecurityToken(RequestedSecurityToken);

Property Value

A RequestedSecurityToken representing the issued security token.

Remarks

The RequestedSecurityToken property contains the requested security token and an encrypted key, which is usually a symmetric session key. This encrypted key is encrypted with a key that only the target Web service knows and thus is used by the SOAP message sender to sign and/or encrypt SOAP messages sent to the target Web service.

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

RequestSecurityTokenResponse Class
Microsoft.Web.Services2.Security Namespace

Other Resources

RequestSecurityTokenResponse Members