WSTrustServiceContract Class

.NET Framework (current version)
 

Definition of the WS-Trust service contract implementation.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Security.WSTrustServiceContract

[ServiceBehaviorAttribute(Name = "SecurityTokenService", Namespace = "http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", 
	InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
[AspNetCompatibilityRequirementsAttribute(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class WSTrustServiceContract : IWSTrustFeb2005SyncContract, 
	IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, 
	IWsdlExportExtension, IContractBehavior

NameDescription
System_CAPS_pubmethodWSTrustServiceContract(SecurityTokenServiceConfiguration)

Initializes a new instance of the WSTrustServiceContract class.

NameDescription
System_CAPS_pubpropertySecurityTokenServiceConfiguration

Gets the service configuration.

NameDescription
System_CAPS_pubmethodAddBindingParameters(ContractDescription, ServiceEndpoint, BindingParameterCollection)

Configures any binding elements to support the contract behavior.

System_CAPS_pubmethodApplyClientBehavior(ContractDescription, ServiceEndpoint, ClientRuntime)

The contract description for which the extension is intended.

System_CAPS_pubmethodApplyDispatchBehavior(ContractDescription, ServiceEndpoint, DispatchRuntime)

Implements a modification or extension of the client across a contract.

System_CAPS_protmethodBeginDispatchRequest(DispatchContext, AsyncCallback, Object)

Begins an asynchronous call to DispatchRequest.

System_CAPS_protmethodBeginProcessCore(Message, WSTrustRequestSerializer, WSTrustResponseSerializer, String, String, String, AsyncCallback, Object)

Handles an asynchronous call to the STS.

System_CAPS_pubmethodBeginTrust13Cancel(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 1.3 Cancel message.

System_CAPS_pubmethodBeginTrust13CancelResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust 1.3 RSTR/Cancel message.

System_CAPS_pubmethodBeginTrust13Issue(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust 1.3 Issue message.

System_CAPS_pubmethodBeginTrust13IssueResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust 1.3 RSTR/Issue message.

System_CAPS_pubmethodBeginTrust13Renew(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust 1.3 Renew message.

System_CAPS_pubmethodBeginTrust13RenewResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust 1.3 RSTR/Renew message.

System_CAPS_pubmethodBeginTrust13Validate(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust 1.3 Validate message.

System_CAPS_pubmethodBeginTrust13ValidateResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust 1.3 RSTR/Validate message.

System_CAPS_pubmethodBeginTrustFeb2005Cancel(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 Cancel message.

System_CAPS_pubmethodBeginTrustFeb2005CancelResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Cancel message.

System_CAPS_pubmethodBeginTrustFeb2005Issue(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 Issue message.

System_CAPS_pubmethodBeginTrustFeb2005IssueResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Issue message.

System_CAPS_pubmethodBeginTrustFeb2005Renew(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 Renew message.

System_CAPS_pubmethodBeginTrustFeb2005RenewResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Renew message.

System_CAPS_pubmethodBeginTrustFeb2005Validate(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 Validate message.

System_CAPS_pubmethodBeginTrustFeb2005ValidateResponse(Message, AsyncCallback, Object)

Processes an asynchronous call to the WS-Trust Feb 2005 RSTR/Validate message.

System_CAPS_protmethodCreateDispatchContext(Message, String, String, String, WSTrustRequestSerializer, WSTrustResponseSerializer, WSTrustSerializationContext)

Creates a DispatchContext object for use by the DispatchRequest method.

System_CAPS_protmethodCreateSerializationContext()

Creates a WSTrustSerializationContext object using the local resolver information of the WSTrustServiceClient.

System_CAPS_protmethodDispatchRequest(DispatchContext)

Processes a WS-Trust request message, and optionally determines the appropriate response message and the WS-Addressing action for the response message.

System_CAPS_protmethodEndDispatchRequest(IAsyncResult)

Completes an asynchronous call to DispatchRequest.

System_CAPS_protmethodEndProcessCore(IAsyncResult, String, String, String)

Completes an asynchronous call to the STS.

System_CAPS_pubmethodEndTrust13Cancel(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 Cancel message.

System_CAPS_pubmethodEndTrust13CancelResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 RSTR/Cancel message.

System_CAPS_pubmethodEndTrust13Issue(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 Issue message.

System_CAPS_pubmethodEndTrust13IssueResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 RSTR/Issue message.

System_CAPS_pubmethodEndTrust13Renew(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 Renew message.

System_CAPS_pubmethodEndTrust13RenewResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 RSTR/Renew message.

System_CAPS_pubmethodEndTrust13Validate(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 Validate message.

System_CAPS_pubmethodEndTrust13ValidateResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust 1.3 RSTR/Validate message.

System_CAPS_pubmethodEndTrustFeb2005Cancel(IAsyncResult)

Completes an asynchronous call to the WS-Trust Feb 2005 Cancel message.

System_CAPS_pubmethodEndTrustFeb2005CancelResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Cancel message.

System_CAPS_pubmethodEndTrustFeb2005Issue(IAsyncResult)

Complete an Asynchronous call to Trust Feb 2005 Cancel message.

System_CAPS_pubmethodEndTrustFeb2005IssueResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Issue message.

System_CAPS_pubmethodEndTrustFeb2005Renew(IAsyncResult)

Completes an asynchronous call to the WS-Trust Feb 2005 Renew message.

System_CAPS_pubmethodEndTrustFeb2005RenewResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Renew message.

System_CAPS_pubmethodEndTrustFeb2005Validate(IAsyncResult)

Completes an asynchronous call to the WS-Trust Feb 2005 Validate message.

System_CAPS_pubmethodEndTrustFeb2005ValidateResponse(IAsyncResult)

Completes an asynchronous call to the WS-Trust Feb 2005 RSTR/Validate message.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExportContract(WsdlExporter, WsdlContractConversionContext)

When implemented in a derived class, writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

System_CAPS_pubmethodExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodFixMessageElement(ServiceDescription, PortType, WsdlEndpointConversionContext, String, XmlQualifiedName, XmlQualifiedName)

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.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetRstSecurityTokenResolver()

Returns the SecurityTokenResolver that will be used when resolving tokens and keys in the WS-Trust message body.

System_CAPS_protmethodGetSecurityHeaderTokenResolver(RequestContext)

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.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodHandleException(Exception, String, String, EnvelopeVersion)

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 a FaultException is not performed.

System_CAPS_protmethodImportSchema(WsdlExporter, WsdlEndpointConversionContext, String)

Imports all of the required schemas if not already present in the WSDL.

System_CAPS_protmethodIncludeNamespace(WsdlEndpointConversionContext, String, String)

Adds the required WS-Trust namespaces to the WSDL if not already present.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodProcessCore(Message, WSTrustRequestSerializer, WSTrustResponseSerializer, String, String, String)

Handles synchronous calls to the STS.

System_CAPS_pubmethodProcessTrust13Cancel(Message)

Processes a WS-Trust 1.3 Cancel message synchronously.

System_CAPS_pubmethodProcessTrust13CancelResponse(Message)

Processes a WS-Trust 1.3 RSTR/Cancel message synchronously.

System_CAPS_pubmethodProcessTrust13Issue(Message)

Process a WS-Trust 1.3 Issue message synchronously.

System_CAPS_pubmethodProcessTrust13IssueResponse(Message)

Processes a WS-Trust 1.3 RSTR/Cancel message synchronously.

System_CAPS_pubmethodProcessTrust13Renew(Message)

Processes a WS-Trust 1.3 Renew message synchronously.

System_CAPS_pubmethodProcessTrust13RenewResponse(Message)

Processes a WS-Trust 1.3 RSTR/Renew message synchronously.

System_CAPS_pubmethodProcessTrust13Validate(Message)

Processes a WS-Trust 1.3 Validate message synchronously.

System_CAPS_pubmethodProcessTrust13ValidateResponse(Message)

Processes a WS-Trust 1.3 RSTR/Validate message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005Cancel(Message)

Processes a WS-Trust Feb 2005 Cancel message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005CancelResponse(Message)

Processes a WS-Trust Feb 2005 RSTR/Cancel message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005Issue(Message)

Processes a WS-Trust Feb 2005 Issue message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005IssueResponse(Message)

Processes a WS-Trust Feb 2005 RSTR/Issue message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005Renew(Message)

Processes a WS-Trust Feb 2005 Renew message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005RenewResponse(Message)

Processes a WS-Trust Feb 2005 RSTR/Renew message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005Validate(Message)

Processes a WS-Trust Feb 2005 Validate message synchronously.

System_CAPS_pubmethodProcessTrustFeb2005ValidateResponse(Message)

Processes a WS-Trust Feb 2005 RSTR/Validate message synchronously.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidate(ContractDescription, ServiceEndpoint)

When implemented in a derived class, confirms that the contract and endpoint can support the contract behavior.

System_CAPS_protmethodValidateDispatchContext(DispatchContext)

Validates the specified DispatchContext object.

NameDescription
System_CAPS_pubeventRequestFailed

Occurs when a failure happens processing a WS-Trust request from the client.

.NET Framework
Available since 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: