WSTrustRequestSerializer.Validate Method (RequestSecurityToken)

.NET Framework (current version)
 

Validates the RequestSecurityToken object that has been deserialized.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public virtual void Validate(
	RequestSecurityToken requestSecurityToken
)

Parameters

requestSecurityToken
Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityToken

The RequestSecurityToken object to validate.

Exception Condition
ArgumentNullException

requestSecurityToken is null.

InvalidOperationException

A WS-Trust Issue request for an asymmetric key did not specify the UseKey element.

.NET Framework
Available since 4.5
Return to top
Show: