An example of WS-Federation response using the SAML2.0 token below:
<t:RequestSecurityTokenResponse xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust">
<wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>rp1</wsa:Address>
</wsa:EndpointReference>
</wsp:AppliesTo>
<t:RequestedSecurityToken>
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
ID="_c2e6b496-fada-42b2-8c6d-0264ccada12d"
IssueInstant="2019-02-18T09:35:56.000Z" Version="2.0">
<saml:Issuer>http://localhost:5000</saml:Issuer>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" />
<Reference URI="#_c2e6b496-fada-42b2-8c6d-0264ccada12d">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" />
<DigestValue>Tx/NbvBOKYHi2U4EmuIl5yka49NFtRT8X2uCHPZH33Y=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>Fnu9hLRsKTkI+dNBpbyDOpZYzDPYo/Zz2BonmcRK2y0RpIlfwuVQTupEVcBMT2X69Rbr4MzTascBMBX7Z9WxvNvqaHnxY46CWsx2pMdPzAWdptif3fnPmorY7B9Whz8YgkLTqm8q+ONxZyO8Uobe1cOf/kOkOBQqbBAezzfK0FDd1OCNJvflfGeJGxG/iFXPEdCWVtFKriX1SIhoO+6MwFz6TEWp5VbeEQWDR582PJhcymgOenik4ZeoFln0TE4b0OoCDxwu7Q1YURQQsT1It78JKnlvR9EwXGSIBddXddzO19aD9XHg6kd9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kbnpW0xGvQb3VHSTVVbeei0CfXoW6iz1
</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">88421113</saml:NameID>
<saml:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer" />
</saml:Subject>
<saml:Conditions NotBefore="2019-02-18T09:35:56.000Z" NotOnOrAfter="2019-02-18T09:40:56.000Z">
<saml:AudienceRestriction>
<saml:Audience>rp1</saml:Audience>
</saml:AudienceRestriction>
</saml:Conditions>
<saml:AttributeStatement>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name">
<saml:AttributeValue>Bob Smith</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname">
<saml:AttributeValue>Bob</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname">
<saml:AttributeValue>Smith</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage">
<saml:AttributeValue>http://bob.com</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>
</saml:Assertion>
</t:RequestedSecurityToken>
</t:RequestSecurityTokenResponse>