Builds the signed Response a remote PEP forwards for a route in identity.mode saml.
identity.mode
session (the record the assertion is about: user, id, authTime, amr), spEntityId and acsUrl (the application's own)
session
user
id
authTime
amr
spEntityId
acsUrl
{ ok: true, xml, notOnOrAfter }, or { ok: false, policy, why } — policy true for the issuance policy's refusal
{ ok: true, xml, notOnOrAfter }
{ ok: false, policy, why }
policy
Builds the signed Response a remote PEP forwards for a route in
identity.modesaml.