SAMLSPLib a C# lib show how to create SAML authentication request and response. it also covers the SAML logout request and response.. MIT License