SecurityContextToken.BaseToken Property

Gets or sets the base token.

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

Usage

'Usage
Dim securityContextToken1 As SecurityContextToken

Dim returnValue As SecurityToken
returnValue = securityContextToken1.BaseToken

Dim sampleValue As SecurityToken
securityContextToken1.BaseToken = sampleValue

Syntax

'Declaration
Public Overridable Property BaseToken() As SecurityToken
public virtual SecurityToken BaseToken {get; set;}
public: property SecurityToken^ BaseToken{
    SecurityToken^ get();
    Void set(SecurityToken^);
}
public SecurityToken get_BaseToken();
public void set_BaseToken(SecurityToken);
public function get BaseToken() : SecurityToken;
public function set BaseToken(SecurityToken);

Property Value

A SecurityToken that represents the security token that signed the security token request.

Remarks

The BaseToken, ProofToken, and SupportingTokens properties are used when a security token service is created that issues SecurityContextToken security tokens. The BaseToken property is the base token, as specified by the WS-Trust specification, and typically refers to the security token that signed a security token request. The ProofToken property contains the session key associated with the issued SecurityContextToken, but it is encrypted so that only the requestor of the security token can decrypt it. The tokens in the SupportingTokens property map to the <Supporting> element of a security token request that is optionally used to authorize the request.

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

SecurityContextToken Class
Microsoft.Web.Services2.Security.Tokens Namespace
ProofToken
SupportingTokens

Other Resources

SecurityContextToken Members