Redigera

Dela via


WSTrustChannel.Validate Method

Definition

Sends a WS-Trust Validate message to an endpoint.

Overloads

Validate(RequestSecurityToken)

Sends a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object.

Validate(Message)

Sends a WS-Trust Validate message to an endpoint using the specified Message object.

Validate(RequestSecurityToken)

Sends a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object.

public:
 virtual System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ Validate(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst);
public virtual System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse Validate (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst);
abstract member Validate : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
override this.Validate : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
Public Overridable Function Validate (rst As RequestSecurityToken) As RequestSecurityTokenResponse

Parameters

rst
RequestSecurityToken

The RequestSecurityToken that represents the request to the STS.

Returns

The RequestSecurityTokenResponse representing the STS response.

Implements

Applies to

Validate(Message)

Sends a WS-Trust Validate message to an endpoint using the specified Message object.

public:
 virtual System::ServiceModel::Channels::Message ^ Validate(System::ServiceModel::Channels::Message ^ message);
public System.ServiceModel.Channels.Message Validate (System.ServiceModel.Channels.Message message);
abstract member Validate : System.ServiceModel.Channels.Message -> System.ServiceModel.Channels.Message
override this.Validate : System.ServiceModel.Channels.Message -> System.ServiceModel.Channels.Message
Public Function Validate (message As Message) As Message

Parameters

message
Message

The Message that contains the instructions for the request to the STS.

Returns

The Message returned from the STS.

Implements

Applies to