SecurityTokenService.ValidateRequest Method (RequestSecurityToken)
Validates the security token request (RST) encapsulated by this instance.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
request is null.
The STS does not support the request token type (based on the value of the TokenType property of the request).
The Issue method) to validate the incoming RST. The RST is validated against the requirements (policy) of the STS and an appropriate exception is thrown if it is not valid.method is called from the token issuance pipeline (the
The default implementation of the SecurityTokenService class supports only the RST-RSTR pattern and only the Issue binding of the WS-Trust specification (the RequestType property of the request must be set to RequestTypes.Issue). The default implementation of this method enforces these requirements (and others noted in the exceptions section). You can override this method if you must enforce different validation requirements for your custom STS.
Available since 4.5