Retrieving Saml Response Xml Without System.Web Dependency

Is there any way to retrieve a saml response xml without requiring a System.Web dependency? Currently, I am passing an HttpRequestBase to the ReceiveSAMLResponseByHTTPPost method to retrieve the saml reponse xml. I would like to remove the dependency on System.Web if possible. Any suggestions?

out XmlElement, out relayStateString);

Thanks in advance,

At this stage I’m afraid this isn’t possible.
We’re currently working on a .NET Core version which will be a lot more flexible in this regard. We don’t have a release date this stage.