WSTrustChannel.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Returns
The Message returned from the STS.