initSAMLLogoutRequest

Starts single logout by redirecting the user to the Identity Provider.

initSAMLLogoutRequest(struct) → returns void

This function requires Adobe ColdFusion 2021 and up.  Not supported on Lucee, etc.

Argument Reference

struct struct
Required

Struct of logout settings. Keys: idp.name, sp.name, relayState (token returned with the response), template (interstitial page, POST binding only), lifetime (seconds to wait for a response).

Compatibility

ColdFusion:

Version 2021+ Requires the saml package

Links more information about initSAMLLogoutRequest

Examples
Sample code invoking the initSAMLLogoutRequest function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub