Partager via


RequestSecurityTokenResponse.RequestedSecurityToken Property

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

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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^ value);
}
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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

RequestSecurityTokenResponse Class
RequestSecurityTokenResponse Members
Microsoft.Web.Services3.Security Namespace