WSTrustServiceContract Members
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
Represents an implementation of a WS-Trust contract. Implements the following ServiceContract interfaces: 1. IWSTrustFeb2005SyncContract, 2. IWSTrust13SyncContract, 3. IWSTrustFeb2005AsyncContract, and 4. IWSTrust13AsyncContract
The following tables list the members exposed by the WSTrustServiceContract type.
Public Constructors
Name | Description | |
---|---|---|
WSTrustServiceContract | Initializes a new instance of the WSTrustServiceContract class. |
Top
Public Properties
Name | Description | |
---|---|---|
SecurityTokenServiceConfiguration | Gets the service configuration. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
AddBindingParameters | Configures any binding elements to support the contract behavior. | |
ApplyClientBehavior | The contract description for which the extension is intended. | |
ApplyDispatchBehavior | Implements a modification or extension of the client across a contract. | |
BeginTrust13Cancel | Processes an asynchronous call to the WS-Trust Feb 1.3 Cancel message. | |
BeginTrust13CancelResponse | Processes an asynchronous call to the WS-Trust 1.3 RSTR/Cancel message. | |
BeginTrust13Issue | Processes an asynchronous call to the WS-Trust 1.3 Issue message. | |
BeginTrust13IssueResponse | Processes an asynchronous call to the WS-Trust 1.3 RSTR/Issue message. | |
BeginTrust13Renew | Processes an asynchronous call to the WS-Trust 1.3 Renew message. | |
BeginTrust13RenewResponse | Processes an asynchronous call to the WS-Trust 1.3 RSTR/Renew message. | |
BeginTrust13Validate | Processes an asynchronous call to the WS-Trust 1.3 Validate message. | |
BeginTrust13ValidateResponse | Processes an asynchronous call to the WS-Trust 1.3 RSTR/Validate message. | |
BeginTrustFeb2005Cancel | Processes an asynchronous call to the WS-Trust Feb 2005 Cancel message. | |
BeginTrustFeb2005CancelResponse | Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Cancel message. | |
BeginTrustFeb2005Issue | Processes an asynchronous call to the WS-Trust Feb 2005 Issue message. | |
BeginTrustFeb2005IssueResponse | Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Issue message. | |
BeginTrustFeb2005Renew | Processes an asynchronous call to the WS-Trust Feb 2005 Renew message. | |
BeginTrustFeb2005RenewResponse | Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Renew message. | |
BeginTrustFeb2005Validate | Processes an asynchronous call to the WS-Trust Feb 2005 Validate message. | |
BeginTrustFeb2005ValidateResponse | Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Validate message. | |
EndTrust13Cancel | Completes an asynchronous call to the WS-Trust 1.3 Cancel message. | |
EndTrust13CancelResponse | Completes an asynchronous call to the WS-Trust 1.3 RSTR/Cancel message. | |
EndTrust13Issue | Completes an asynchronous call to the WS-Trust 1.3 Issue message. | |
EndTrust13IssueResponse | Completes an asynchronous call to the WS-Trust 1.3 RSTR/Issue message. | |
EndTrust13Renew | Completes an asynchronous call to the WS-Trust 1.3 Renew message. | |
EndTrust13RenewResponse | Completes an asynchronous call to the WS-Trust 1.3 RSTR/Renew message. | |
EndTrust13Validate | Completes an asynchronous call to the WS-Trust 1.3 Validate message. | |
EndTrust13ValidateResponse | Completes an asynchronous call to the WS-Trust 1.3 RSTR/Validate message. | |
EndTrustFeb2005Cancel | Completes an asynchronous call to the WS-Trust Feb 2005 Cancel message. | |
EndTrustFeb2005CancelResponse | Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Cancel message. | |
EndTrustFeb2005Issue | Complete an Asynchronous call to Trust Feb 2005 Cancel message. | |
EndTrustFeb2005IssueResponse | Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Issue message. | |
EndTrustFeb2005Renew | Completes an asynchronous call to the WS-Trust Feb 2005 Renew message. | |
EndTrustFeb2005RenewResponse | Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Renew message. | |
EndTrustFeb2005Validate | Completes an asynchronous call to the WS-Trust Feb 2005 Validate message. | |
EndTrustFeb2005ValidateResponse | Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Validate message. | |
Equals | (Inherited from Object) | |
ExportContract | When implemented in a derived class, writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract. | |
ExportEndpoint | Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint. | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
ProcessTrust13Cancel | Processes a WS-Trust 1.3 Cancel message synchronously. | |
ProcessTrust13CancelResponse | Processes a WS-Trust 1.3 RSTR/Cancel message synchronously. | |
ProcessTrust13Issue | Process a WS-Trust 1.3 Issue message synchronously. | |
ProcessTrust13IssueResponse | Processes a WS-Trust 1.3 RSTR/Cancel message synchronously. | |
ProcessTrust13Renew | Processes a WS-Trust 1.3 Renew message synchronously. | |
ProcessTrust13RenewResponse | Processes a WS-Trust 1.3 RSTR/Renew message synchronously. | |
ProcessTrust13Validate | Processes a WS-Trust 1.3 Validate message synchronously. | |
ProcessTrust13ValidateResponse | Processes a WS-Trust 1.3 RSTR/Validate message synchronously. | |
ProcessTrustFeb2005Cancel | Processes a WS-Trust Feb 2005 Cancel message synchronously. | |
ProcessTrustFeb2005CancelResponse | Processes a WS-Trust Feb 2005 RSTR/Cancel message synchronously. | |
ProcessTrustFeb2005Issue | Processes a WS-Trust Feb 2005 Issue message synchronously. | |
ProcessTrustFeb2005IssueResponse | Processes a WS-Trust Feb 2005 RSTR/Issue message synchronously. | |
ProcessTrustFeb2005Renew | Processes a WS-Trust Feb 2005 Renew message synchronously. | |
ProcessTrustFeb2005RenewResponse | Processes a WS-Trust Feb 2005 RSTR/Renew message synchronously. | |
ProcessTrustFeb2005Validate | Processes a WS-Trust Feb 2005 Validate message synchronously. | |
ProcessTrustFeb2005ValidateResponse | Processes a WS-Trust Feb 2005 RSTR/Validate message synchronously. | |
ToString | (Inherited from Object) | |
Validate | When implemented in a derived class, confirm that the contract and endpoint can support the contract behavior. |
Top
Protected Methods
Name | Description | |
---|---|---|
BeginDispatchRequest | Begins an asynchronous call to DispatchRequest. | |
BeginProcessCore | Handles an asynchronous call to the STS. | |
CreateDispatchContext | Creates a DispatchContext object for use by the DispatchRequest method. | |
CreateSerializationContext | Creates a WSTrustSerializationContext object using the local resolver information of the WSTrustServiceClient. | |
DispatchRequest | Processes a WS-Trust request message, and optionally determines the appropriate response message and the WS-Addressing action for the response message. | |
EndDispatchRequest | Completes an asynchronous call to DispatchRequest. | |
EndProcessCore | Completes an asynchronous call to the STS. | |
Finalize | (Inherited from Object) | |
FixMessageElement | During WSDL generation, this method fixes a specified operation message element to refer to the RST and RSTR elements of the appropriate WS-Trust version. | |
GetRstSecurityTokenResolver | Returns the SecurityTokenResolver that will be used when resolving tokens and keys in the WS-Trust message body. | |
GetSecurityHeaderTokenResolver | Returns the SecurityTokenResolver that resolves the following security tokens contained in the security header of the current WCF message request: protection token, endorsing, or signed endorsing supporting tokens. | |
HandleException | Raises the RequestFailed event and converts the specified exception to a FaultException if required. If the original exception was a FaultException or if the PreserveOriginalException flag is set to true, the conversion to FaultException is not performed. | |
ImportSchema | Imports all the required schema if not already present in the WSDL. | |
IncludeNamespace | Adds the required WS-Trust namespaces to the WSDL if not already present. | |
MemberwiseClone | (Inherited from Object) | |
ProcessCore | Handles synchronous calls to the STS. | |
ValidateDispatchContext | Validates the specified DispatchContext object. |
Top
Public Events
Name | Description | |
---|---|---|
RequestFailed | Occurs when a failure happens processing a WS-Trust request from the client. |
Top
See Also
Reference
WSTrustServiceContract Class
Microsoft.IdentityModel.Protocols.WSTrust Namespace
Copyright © 2008 by Microsoft Corporation. All rights reserved.