idp
Viimati uuendatud
11. jaan 2022
Description
Initiates the logout process with IDP.
Syntax
InitSAMLLogoutRequest(options)
Parameters
|
Name of the Identity Provider. |
sp |
Name of the Service Provider. |
relayState |
A string token that is attached with the request. On succesful authentication with the IdP, this token is sent back in the SAMLResponse so that the user can be redirected to any page once authentication is done. |
template |
The location of a template that can be used as an intermediate loading page before redirection to the IDP takes place. Valid only for POST bindings. |
lifetime |
The time that the SAML request must be entertained while waiting for the response from the IDP. |
Example
<cfset struct1 = StructNew()> <cfset struct1.idp = StructNew()> <cfset struct1.idp.name = "idp1"> <cfset struct1.sp = StructNew()> <cfset struct1.sp.name = "sp1"> <cfset struct1.lifetime = 600> <cfset struct1.relaystate = "page"> <cfscript> InitSAMLLogoutRequest(struct1); </cfscript>