Manually validate SAML assertions
First of all you need to load the assertion as an XML using TElXMLDOMDocument class. Then you should create an instance of TElSAMLAssertionElement and load the assertion using TElSAMLAssertionElement.LoadFromXML() method. If the assertion is signed, you can assign TElSAMLSignatureHandler instance to TElSAMLAssertionElement.Handler property before loading - in this case signatures will be validated during the loading process. TElSAMLSignatureHandler.Certificate property should be initialized with a signing certificate that will be used to validate assertion signatures.