編輯

共用方式為


System.IdentityModel.Protocols.WSTrust Namespace

Contains classes that represent WS-Trust artifacts. These include the RequestSecurityToken (RST) and RequestSecurityToken (RSTR) classes and several serializers that can serialize and deserialize between WS-Trust artifacts on the wire and their representation in the object model.

Out-of-the-box, Windows Identity Foundation (WIF) contains support for the following WS-Trust specifications: WS-Trust February 2005, WS-Trust 1.3, or WS-Trust 1.4.

Classes

AdditionalContext

Represents the auth:AdditionalContext element defined in the authorization extensions to WS-Trust. These extensions are defined in the WS-Federation specification.

BinaryExchange

Represents the contents of a WS-Trust BinaryExchange element.

ContextItem

Represents the auth:ContextItem element defined in the authorization extensions to WS-Trust. These extensions are defined in the WS-Federation specification.

EndpointReference

Represents a wsa:EndpointReference element.

Entropy

Represents the entropy used in both token request messages and token response messages.

InvalidRequestException

The exception that is thrown when the request (RST) is invalid or malformed.

KeyTypes

Defines protocol-agnostic URIs that are used in the token request (RST) or response (RSTR) to indicate the desired or required key type.

Lifetime

Represents the <wst:Lifetime> element.

Participants

Represents a WS-Trust Participants element. The wst:Participants element is an extension to the wst:RequestSecurityToken element and is used to pass information about which parties are authorized to participate in the use of the token.

ProtectedKey

Represents the contents of a wst:Entropy or a wst:RequestedProofToken element inside the RequestSecurityToken and RequestSecurityTokenResponse.

Renewing

Represents the wst:Renewing element in a WS-Trust renew request.

RequestClaim

Represents a single requested claim in a security token request (RST).

RequestClaimCollection

Represents a collection of the RequestClaim objects inside RequestSecurityToken.

RequestedProofToken

Represents the contents of a wst:RequestedProofToken element.

RequestedSecurityToken

Represents the requested (issued) security token.

RequestSecurityToken

Represents the wst:RequestSecurityToken element (RST), which is used to request a security token.

RequestSecurityTokenResponse

Represents the wst:RequestSecurityTokenResponse element, which is used to return a security token.

RequestTypes

Defines protocol-agnostic RequestType URI strings.

Status

Represents the result of a WS-Trust Validation request.

UseKey

Represents the contents of the wst:UseKey element.

WSTrust13RequestSerializer

Class for serializing and deserializing WS-Trust 1.3 RequestSecurityToken (RST) messages.

WSTrust13ResponseSerializer

Class for serializing and deserializing WS-Trust 1.3 RequestSecurityTokenResponse (RSTR) messages.

WSTrustFeb2005RequestSerializer

Class for serializing and deserializing WS-Trust Feb 2005 RequestSecurityToken (RST) messages.

WSTrustFeb2005ResponseSerializer

Class for serializing and deserializing WS-Trust Feb 2005 RequestSecurityTokenResponse (RSTR) messages.

WSTrustMessage

The Base class for RST and RSTR.

WSTrustRequestSerializer

The abstract base class that defines methods for serializing and deserializing versions of WS-Trust request (RST) messages.

WSTrustResponseSerializer

The abstract base class that defines methods for serializing and deserializing versions of WS-Trust response (RSTR) messages.

WSTrustSerializationContext

Defines the serialization context for WS-Trust messages.

WSTrustSerializationException

The exception that is thrown when an error occurs while serializing or deserializing a WS-Trust message.