WSFederationSerializer.CanReadRequest(String) 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.
Checks whether the specified string is a wst:RequestSecurityToken message with a namespace that is recognized by the wrapped WSTrustRequestSerializer.
public:
virtual bool CanReadRequest(System::String ^ trustMessage);
public virtual bool CanReadRequest (string trustMessage);
abstract member CanReadRequest : string -> bool
override this.CanReadRequest : string -> bool
Public Overridable Function CanReadRequest (trustMessage As String) As Boolean
Parameters
- trustMessage
- String
The WS-Trust message to check.
Returns
true
if the message is a valid wst:RequestSecurityToken message with a namespace that matches the WS-Trust protocol that this WSFederationSerializer supports; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.